Using yaz/test.h. Test for zebra without config
[idzebra-moved-to-github.git] / test / espec / t1.c
index d2e5a9d..f168a9b 100644 (file)
@@ -1,6 +1,6 @@
-/* $Id: t1.c,v 1.2 2004-12-14 11:23:32 adam Exp $
-   Copyright (C) 2003,2004
-   Index Data Aps
+/* $Id: t1.c,v 1.5 2005-09-13 11:51:08 adam Exp $
+   Copyright (C) 1995-2005
+   Index Data ApS
 
 This file is part of the Zebra server.
 
@@ -25,8 +25,7 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 int main(int argc, char **argv)
 {
     ZebraService zs = start_up(0, argc, argv);
-    ZebraHandle  zh = zebra_open(zs);
-    ZebraMetaRecord *recs;
+    ZebraHandle  zh = zebra_open(zs, 0);
     char path[256];
     int i, errs = 0;