Ignore zoomst10
[yaz-moved-to-github.git] / zoom / zoomtst6.c
index 44177e0..90f41ff 100644 (file)
@@ -1,8 +1,8 @@
-/*
- * $Id: zoomtst6.c,v 1.10 2005-06-25 15:46:08 adam Exp $
- *
- * Asynchronous multi-target client doing two searches
- */
+/* $Id: zoomtst6.c,v 1.12 2006-04-21 10:28:08 adam Exp $  */
+
+/** \file zoomtst6.c
+    \brief Asynchronous multi-target client with two searches
+*/
 
 #include <stdio.h>
 #include <yaz/nmem.h>
@@ -14,7 +14,7 @@ static void display_records (const char *tname, ZOOM_resultset r)
 {
     /* OK, no major errors. Look at the result count */
     int pos;
-    printf ("%s: %d hits\n", tname, ZOOM_resultset_size(r));
+    printf ("%s: %ld hits\n", tname, (long) ZOOM_resultset_size(r));
     /* go through all records at target */
     for (pos = 0; pos < 4; pos++)
     {
@@ -81,7 +81,7 @@ int main(int argc, char **argv)
     }
     if (ZOOM_query_prefix (q, argv[argc-1]))
     {
-        printf ("bad sort spec: %s\n", argv[argc-1]);
+        printf ("bad prefix query: %s\n", argv[argc-1]);
         exit (2);
     }
     /* queue second search */