Remove call to gnutls_global_init. tcpip_init already does it
[yaz-moved-to-github.git] / test / test_pquery.c
index 313df6b..9c711dd 100644 (file)
@@ -1,7 +1,10 @@
 /* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2010 Index Data
+ * Copyright (C) Index Data
  * See the file LICENSE for details.
  */
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 #include <stdlib.h>
 #include <stdio.h>
@@ -39,11 +42,11 @@ int expect_pqf(const char *pqf, const char *expect_pqf, int expect_error)
     else if (expect_error == YAZ_PQF_ERROR_NONE)
     {
         WRBUF wrbuf = wrbuf_alloc();
-        
+
         if (wrbuf)
         {
             yaz_rpnquery_to_wrbuf(wrbuf, rpn);
-            
+
             if (!strcmp(wrbuf_cstr(wrbuf), expect_pqf))
             {
                 res = 1;