From: Adam Dickmeiss Date: Mon, 13 Aug 2012 12:06:46 +0000 (+0200) Subject: yaz-client: fix bad encoding of "itemorder item" X-Git-Tag: v4.2.36~5 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=70167dec477969519b27873537a7d9d7d7e686c1;p=yaz-moved-to-github.git yaz-client: fix bad encoding of "itemorder item" The itemorder item - command forgot to use length of encoded Item Request package. Error present since YAZ 3. --- diff --git a/client/client.c b/client/client.c index d8e78b9..c778d77 100644 --- 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;