From: Adam Dickmeiss Date: Wed, 21 Feb 2001 09:41:15 +0000 (+0000) Subject: Fixed problem with old codecs. X-Git-Tag: YAZ.1.8~126 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=84123e31b540666d168a28292c0461698841f8be Fixed problem with old codecs. --- diff --git a/client/client.c b/client/client.c index e874e31..4449e5d 100644 --- a/client/client.c +++ b/client/client.c @@ -3,7 +3,10 @@ * See the file LICENSE for details. * * $Log: client.c,v $ - * Revision 1.112 2001-02-20 11:25:32 adam + * Revision 1.113 2001-02-21 09:41:15 adam + * Fixed problem with old codecs. + * + * Revision 1.112 2001/02/20 11:25:32 adam * Added ill_get_APDU and ill_get_Cancel. * * Revision 1.111 2001/01/30 15:52:48 ja7 @@ -1492,6 +1495,7 @@ static Z_External *create_ItemOrderExternal(const char *type, int itemno) (int *) odr_malloc(out, sizeof(int)); *r->u.itemOrder->u.esRequest->notToKeep->resultSetItem->item = itemno; +#ifdef ASN_COMPILED if (!strcmp (type, "item") || !strcmp(type, "2")) { printf ("using item-request\n"); @@ -1506,6 +1510,10 @@ static Z_External *create_ItemOrderExternal(const char *type, int itemno) } else r->u.itemOrder->u.esRequest->notToKeep->itemRequest = 0; + +#else + r->u.itemOrder->u.esRequest->notToKeep->itemRequest = 0; +#endif return r; }