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:
2caef65
)
version 2 check
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 4 Sep 2013 08:13:45 +0000
(10:13 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 4 Sep 2013 08:13:45 +0000
(10:13 +0200)
src/srw.c
patch
|
blob
|
history
diff --git
a/src/srw.c
b/src/srw.c
index
f7fb927
..
e628d2d
100644
(file)
--- a/
src/srw.c
+++ b/
src/srw.c
@@
-1192,7
+1192,7
@@
int yaz_srw_codec(ODR o, void * vptr, Z_SRW_PDU **handler_data,
if (!version2)
add_xsd_string(ptr, "version", (*p)->srw_version);
- if (strcmp((*p)->srw_version, "2.") > 0)
+ if (version2)
{
if (queryType && strcmp(queryType, "cql"))
add_xsd_string(ptr, "queryType", queryType);