Added test for bug #431
[idzebra-moved-to-github.git] / test / xpath / xpath1.c
index ea428ed..4a40070 100644 (file)
@@ -1,6 +1,6 @@
-/* $Id: xpath1.c,v 1.2 2004-12-15 13:07:07 adam Exp $
-   Copyright (C) 2003,2004
-   Index Data Aps
+/* $Id: xpath1.c,v 1.4 2005-09-13 11:51:10 adam Exp $
+   Copyright (C) 1995-2005
+   Index Data ApS
 
 This file is part of the Zebra server.
 
@@ -39,7 +39,7 @@ int main(int argc, char **argv)
         0};
 
     zs = start_up(0, argc, argv);
-    zh = zebra_open(zs);
+    zh = zebra_open(zs, 0);
     init_data(zh, myrec);
 
     do_query(__LINE__,zh, "@attr 1=/sgml/tag before", 0);