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:
0d16731
)
yaz-client: fix bad encoding of "itemorder item"
author
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 13 Aug 2012 12:06:46 +0000
(14:06 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 13 Aug 2012 12:06:46 +0000
(14:06 +0200)
The itemorder item <no> - command forgot to use length of encoded
Item Request package. Error present since YAZ 3.
client/client.c
patch
|
blob
|
history
diff --git
a/client/client.c
b/client/client.c
index
d8e78b9
..
c778d77
100644
(file)
--- a/
client/client.c
+++ b/
client/client.c
@@
-2130,6
+2130,7
@@
static Z_External *create_external_itemRequest(void)
}
else
{
+ item_request_buf = odr_getbuf (out, &item_request_size, 0);
r = (Z_External *) odr_malloc(out, sizeof(*r));
r->direct_reference = odr_oiddup(out, yaz_oid_general_isoill_1);
r->indirect_reference = 0;