Added test for bug #431
[idzebra-moved-to-github.git] / test / xpath / xpath2.c
index bf60694..a7d0b00 100644 (file)
@@ -1,6 +1,6 @@
-/* $Id: xpath2.c,v 1.2 2004-12-15 13:07:07 adam Exp $
-   Copyright (C) 2003,2004
-   Index Data Aps
+/* $Id: xpath2.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.
 
@@ -72,7 +72,7 @@ const char *myrec[] = {
 int main(int argc, char **argv)
 {
     ZebraService zs = start_up(0, argc, argv);
-    ZebraHandle zh = zebra_open (zs);
+    ZebraHandle zh = zebra_open(zs, 0);
     init_data(zh, myrec);
 
     do_query(__LINE__,zh, "@attr 1=/Zthes/termName Sauropoda", 1);