Added test for bug #431
[idzebra-moved-to-github.git] / test / api / t2.c
index 20cf425..6dacdd0 100644 (file)
@@ -1,6 +1,6 @@
-/* $Id: t2.c,v 1.15 2004-12-02 11:28:20 adam Exp $
-   Copyright (C) 2003,2004
-   Index Data Aps
+/* $Id: t2.c,v 1.17 2005-09-13 11:51:07 adam Exp $
+   Copyright (C) 1995-2005
+   Index Data ApS
 
 This file is part of the Zebra server.
 
@@ -31,7 +31,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=4 my", 1);