Fix documentation of of chr's equivalent directive ZEB-672
[idzebra-moved-to-github.git] / test / api / test_create_databases.c
index 8525dfd..0cb38f0 100644 (file)
@@ -1,5 +1,5 @@
 /* This file is part of the Zebra server.
-   Copyright (C) 1994-2009 Index Data
+   Copyright (C) Index Data
 
 Zebra is free software; you can redistribute it and/or modify it under
 the terms of the GNU General Public License as published by the Free
@@ -19,6 +19,9 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
 /** Create many databases */
 
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
 #include "testlib.h"
 
 static void tst(int argc, char **argv)
@@ -34,7 +37,7 @@ static void tst(int argc, char **argv)
 
     zh = zebra_open(zs, 0);
     YAZ_CHECK(zh);
-    
+
     YAZ_CHECK(zebra_begin_trans (zh, 1) == ZEBRA_OK);
 
     for (i = 0; i<no_db; i++)
@@ -44,7 +47,7 @@ static void tst(int argc, char **argv)
 
        sprintf(dbstr, "%d", i);
        YAZ_CHECK(zebra_select_database(zh, dbstr) == ZEBRA_OK);
-    
+
        sprintf(rec_buf, "<gils><title>title %d</title></gils>\n", i);
        zebra_add_record (zh, rec_buf, strlen(rec_buf));