Fix registry keys for VC runtime
[yaz-moved-to-github.git] / zoom / zoom-ka.c
index 13fa4c6..361d213 100644 (file)
@@ -1,8 +1,7 @@
-/* $Id: zoom-ka.c,v 1.2 2007-01-03 08:42:17 adam Exp $  */
-
-/** \file zoom-ka.c
-    \brief Test ZOOM Keepalive / reconnect
-*/
+/* This file is part of the YAZ toolkit.
+ * Copyright (C) Index Data
+ * See the file LICENSE for details.
+ */
 
 #include <stdlib.h>
 #include <unistd.h>
@@ -19,7 +18,7 @@ int main(int argc, char **argv)
     ZOOM_connection z;
     ZOOM_options o = ZOOM_options_create ();
     const char *errmsg, *addinfo;
-    
+
     if (argc != 4)
     {
         fprintf (stderr, "usage:\nzoom-ka sleepinterval target query\n");
@@ -36,7 +35,7 @@ int main(int argc, char **argv)
         ZOOM_resultset rset;
         ZOOM_connection_connect (z, argv[2], 0);
         rset = ZOOM_connection_search_pqf(z, argv[3]);
-        
+
         while ((i = ZOOM_event(1, &z)))
         {
             printf ("no = %d event = %d\n", i-1,
@@ -57,6 +56,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