projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29b3b32
)
Avoid double display of SRU/SRW records (bug #2798).
author
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 1 May 2009 07:48:52 +0000
(09:48 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 1 May 2009 07:48:52 +0000
(09:48 +0200)
client/client.c
patch
|
blob
|
history
diff --git
a/client/client.c
b/client/client.c
index
b3bec5e
..
f528d96
100644
(file)
--- 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);
}