X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=client%2Fclient.c;h=0feec981219a6890609eebad8008e2952e76dc8e;hb=4102d95bf434baaf92b1a8db63d1f7396c8e469f;hp=782921c46364af9d7c9cc20193acf883172e48f6;hpb=e15cbdedce45f8d4ce7642182899919cf9266984;p=yaz-moved-to-github.git diff --git a/client/client.c b/client/client.c index 782921c..0feec98 100644 --- a/client/client.c +++ b/client/client.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2005, Index Data ApS * See the file LICENSE for details. * - * $Id: client.c,v 1.299 2005-11-02 11:54:40 adam Exp $ + * $Id: client.c,v 1.300 2005-11-09 17:47:50 adam Exp $ */ #include @@ -1530,7 +1530,7 @@ static int send_searchRequest(const char *arg) if (smallSetUpperBound > 0 || (largeSetLowerBound > 1 && mediumSetPresentNumber > 0)) { - if (recordsyntax_list > 0) + if (recordsyntax_size > 0) req->preferredRecordSyntax = yaz_oidval_to_z3950oid(out, CLASS_RECSYN, recordsyntax_list[0]); req->smallSetElementSetNames =