Log permission for the active user
[idzebra-moved-to-github.git] / index / apitest.c
index 72ba83e..ee5fd8c 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: apitest.c,v 1.13 2003-05-20 13:52:41 adam Exp $
+/* $Id: apitest.c,v 1.16.2.1 2005-01-16 23:13:29 adam Exp $
    Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002
    Index Data Aps
 
@@ -20,10 +20,8 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 02111-1307, USA.
 */
 
-
-
+#include <stdlib.h>
 #include <stdio.h>
-
 #include <yaz/log.h>
 #include <yaz/pquery.h>
 #include "zebraapi.h"
@@ -197,7 +195,7 @@ int main (int argc, char **argv)
        sprintf (setname, "%d", argno);
 
        /* fire up the search */
-       zebra_search_RPN (zh, query, setname, &hits);
+       zebra_search_RPN (zh, odr_input, query, setname, &hits);
        
        /* status ... */
         zebra_result (zh, &errCode, &errString);