From 63ae67e43ae6770d77e5d8b925d71dd2e4e28ee1 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 1 May 2009 09:48:52 +0200 Subject: [PATCH] Avoid double display of SRU/SRW records (bug #2798). --- client/client.c | 5 ----- 1 file changed, 5 deletions(-) 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); } -- 1.7.10.4