From: Adam Dickmeiss Date: Fri, 1 May 2009 07:48:52 +0000 (+0200) Subject: Avoid double display of SRU/SRW records (bug #2798). X-Git-Tag: v3.0.45.rhel53~5 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=63ae67e43ae6770d77e5d8b925d71dd2e4e28ee1 Avoid double display of SRU/SRW records (bug #2798). --- diff --git a/client/client.c b/client/client.c index b3bec5e..f528d96 100644 --- a/client/client.c +++ b/client/client.c @@ -3914,11 +3914,6 @@ static void handle_srw_record(Z_SRW_record *rec) printf("\n"); if (rec->recordData_buf && rec->recordData_len) { - if (fwrite(rec->recordData_buf, 1, rec->recordData_len, stdout) != - (size_t) (rec->recordData_len)) - { - printf("write to stdout failed\n"); - } printf("%.*s", rec->recordData_len, rec->recordData_buf); marc_file_write(rec->recordData_buf, rec->recordData_len); }