Added parameter for zebra_open.
[idzebra-moved-to-github.git] / test / xpath / xpath5.c
index 34f12c0..0ffc2fd 100644 (file)
@@ -1,6 +1,6 @@
-/* $Id: xpath5.c,v 1.1 2004-12-02 14:05:04 adam Exp $
-   Copyright (C) 2003,2004
-   Index Data Aps
+/* $Id: xpath5.c,v 1.4 2005-09-13 11:51:11 adam Exp $
+   Copyright (C) 1995-2005
+   Index Data ApS
 
 This file is part of the Zebra server.
 
@@ -22,7 +22,7 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 
 #include "../api/testlib.h"
 
-/** xpath4.c - Ranking in xpath */
+/** xpath5.c - Ranking in xpath */
 
 const char *recs[] = {
         "<record>\n"
@@ -57,8 +57,8 @@ const char *recs[] = {
 
 int main(int argc, char **argv)
 {
-    ZebraService zs = start_up("zebraxpath.cfg", argc, argv);
-    ZebraHandle zh = zebra_open(zs);
+    ZebraService zs = start_up(0, argc, argv);
+    ZebraHandle zh = zebra_open(zs, 0);
     init_data(zh, recs);
 
 //     yaz_log_init_level(LOG_ALL);