Updated footer comment
[yaz-moved-to-github.git] / zoom / zoomtst8.c
index 40c8f90..681cd59 100644 (file)
@@ -1,8 +1,7 @@
-/* $Id: zoomtst8.c,v 1.8 2007-03-21 11:27:47 adam Exp $  */
-
-/** \file zoomtst8.c
-    \brief Asynchronous multi-target client doing scan
-*/
+/* This file is part of the YAZ toolkit.
+ * Copyright (C) 1995-2009 Index Data
+ * See the file LICENSE for details.
+ */
 
 #include <stdio.h>
 #include <string.h>
@@ -66,7 +65,7 @@ int main(int argc, char **argv)
         {
             int j;
             printf ("%s\n", ZOOM_connection_option_get(z[i], "host"));
-            for (j = 0; j<ZOOM_scanset_size (s[i]); j++)
+            for (j = 0; j < (int) ZOOM_scanset_size (s[i]); j++)
             {
                 int occur, len;
                 const char *term;
@@ -89,6 +88,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