X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Fapitest.c;h=cd88853ae4531384158b87e4343df9e12c1e9d68;hb=647212270fdb2030f6a1ab1f9880874f531847b2;hp=0f44a4f91b8a8dab5074eceaa7132eb423253e0a;hpb=4eb3b54bb2ca9af74f39f000d3d40dba99ded887;p=idzebra-moved-to-github.git diff --git a/index/apitest.c b/index/apitest.c index 0f44a4f..cd88853 100644 --- a/index/apitest.c +++ b/index/apitest.c @@ -1,6 +1,6 @@ -/* $Id: apitest.c,v 1.19 2004-12-13 20:51:30 adam Exp $ - Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002 - Index Data Aps +/* $Id: apitest.c,v 1.22 2005-03-09 12:14:42 adam Exp $ + Copyright (C) 1995-2005 + Index Data ApS This file is part of the Zebra server. @@ -20,9 +20,8 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ - - #include +#include #include #include @@ -162,7 +161,7 @@ int main (int argc, char **argv) char setname[64]; int errCode; int i; - int hits; + zint hits; char *errString; ZebraRetrievalRecord *records; int noOfRecordsToFetch; @@ -210,7 +209,7 @@ int main (int argc, char **argv) continue; } /* ok ... */ - printf ("Zebra Search gave %d hits\n", hits); + printf ("Zebra Search gave " ZINT_FORMAT " hits\n", hits); /* Deterimine number of records to fetch ... */ if (hits > 10)