X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=test%2Fapi%2Ftestlib.c;h=52c7ca753dfd5b2ca76976642c98295973a12f2f;hp=e376487b259c31e59f967f0494040f7c73f443c7;hb=1872e3fc60b482771bbd1cb4b0290b8d6a9ef5d0;hpb=eb44a82db835f33bbd984072ee18dd2ec34ae9cb diff --git a/test/api/testlib.c b/test/api/testlib.c index e376487..52c7ca7 100644 --- a/test/api/testlib.c +++ b/test/api/testlib.c @@ -1,5 +1,5 @@ -/* $Id: testlib.c,v 1.41 2006-11-22 14:06:53 adam Exp $ - Copyright (C) 1995-2006 +/* $Id: testlib.c,v 1.43 2007-04-16 08:44:32 adam Exp $ + Copyright (C) 1995-2007 Index Data ApS This file is part of the Zebra server. @@ -35,6 +35,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #include #include #include +#include #include #include "testlib.h" @@ -323,7 +324,7 @@ int tl_ranking_query(ZebraHandle zh, char *query, odr_output = odr_createmem(ODR_ENCODE); rc = zebra_records_retrieve(zh, odr_output, setname, 0, - VAL_TEXT_XML, exphits, retrievalRecord); + yaz_oid_xml(), exphits, retrievalRecord); if (rc != ZEBRA_OK) ret = 0; else if (!strstr(retrievalRecord[0].buf, firstrec))