Fix documentation of of chr's equivalent directive ZEB-672
[idzebra-moved-to-github.git] / test / api / test_update_record.c
index 4449c39..8ad409f 100644 (file)
@@ -1,5 +1,5 @@
 /* This file is part of the Zebra server.
-   Copyright (C) 1995-2008 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
@@ -17,6 +17,9 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
 */
 
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
 #include "testlib.h"
 
 static void create_search_drop(ZebraHandle zh)
@@ -35,7 +38,7 @@ static void create_search_drop(ZebraHandle zh)
                   0 /* fname */,
                   rec, strlen(rec))
               == ZEBRA_OK); /* insert really */
-    
+
     YAZ_CHECK(zebra_update_record(
                  zh, action_update,
                   0 /* record type */,
@@ -44,7 +47,7 @@ static void create_search_drop(ZebraHandle zh)
                   0 /* fname */,
                   rec, strlen(rec))
               == ZEBRA_OK); /* replace really */
-    
+
     YAZ_CHECK(tl_query(zh, "@attr 1=4 some", 1));
 
     zebra_drop_database(zh, "Default");
@@ -73,6 +76,7 @@ TL_MAIN
 /*
  * Local variables:
  * c-basic-offset: 4
+ * c-file-style: "Stroustrup"
  * indent-tabs-mode: nil
  * End:
  * vim: shiftwidth=4 tabstop=8 expandtab