ZOOM C: deal with excess bytes HTTPS case YAZ-833
[yaz-moved-to-github.git] / zoom / zoomtst10.c
index cc5e63d..b0abf15 100644 (file)
@@ -1,5 +1,5 @@
 /* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2009 Index Data
+ * Copyright (C) Index Data
  * See the file LICENSE for details.
  */
 
@@ -25,7 +25,7 @@ int main(int argc, char **argv)
         exit (1);
     }
 
-    if (ZOOM_query_ccl2rpn(q, argv[2], 
+    if (ZOOM_query_ccl2rpn(q, argv[2],
                            "term t=l,r s=al\n" "ti u=4 s=pw\n",
                            &ccl_error_code, &ccl_error_string, &ccl_error_pos))
     {
@@ -37,13 +37,13 @@ int main(int argc, char **argv)
     else
     {
         z = ZOOM_connection_new (argv[1], 0);
-        
+
         if ((error = ZOOM_connection_error(z, &errmsg, &addinfo)))
         {
             fprintf (stderr, "Error: %s (%d) %s\n", errmsg, error, addinfo);
             exit (2);
         }
-        
+
         r = ZOOM_connection_search (z, q);
         ZOOM_query_destroy(q);
         if ((error = ZOOM_connection_error(z, &errmsg, &addinfo)))
@@ -58,6 +58,7 @@ int main(int argc, char **argv)
 /*
  * Local variables:
  * c-basic-offset: 4
+ * c-file-style: "Stroustrup"
  * indent-tabs-mode: nil
  * End:
  * vim: shiftwidth=4 tabstop=8 expandtab