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:
028d5f9
)
No need to report more than 10 unknown SRU args
author
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 12 Nov 2012 14:51:25 +0000
(15:51 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 12 Nov 2012 14:51:25 +0000
(15:51 +0100)
src/srwutil.c
patch
|
blob
|
history
diff --git
a/src/srwutil.c
b/src/srwutil.c
index
f7c8a2f
..
c0e496b
100644
(file)
--- a/
src/srwutil.c
+++ b/
src/srwutil.c
@@
-466,8
+466,11
@@
int yaz_sru_decode(Z_HTTP_Request *hreq, Z_SRW_PDU **srw_pdu,
(*l)->next = 0;
}
else
- yaz_add_srw_diagnostic(decode, diag, num_diag,
- YAZ_SRW_UNSUPP_PARAMETER, n);
+ {
+ if (*num_diag < 10)
+ yaz_add_srw_diagnostic(decode, diag, num_diag,
+ YAZ_SRW_UNSUPP_PARAMETER, n);
+ }
}
}
if (!version)