X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=index%2Fapitest.c;h=88c9e6b3ae4d1b811fc83ac6b3e2e7d2019c5775;hp=7207b97927b63cbb421118fc8de78fd644339db1;hb=e150e51a7e20a902e9fd2f11f00811f94f67d529;hpb=6e044d5a523bb4363d07af757ebf1bcfe0ad6c04 diff --git a/index/apitest.c b/index/apitest.c index 7207b97..88c9e6b 100644 --- a/index/apitest.c +++ b/index/apitest.c @@ -1,8 +1,8 @@ #include -#include -#include +#include +#include #include "zebraapi.h" /* Small routine to display GRS-1 record variants ... */ @@ -149,7 +149,7 @@ int main (int argc, char **argv) } /* result set name will be called 1,2, etc */ - sprintf (setname, "%d", i); + sprintf (setname, "%d", argno); /* fire up the search */ zebra_search_rpn (zh, odr_input, odr_output, query, 1, &base, setname);