X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=zoom%2Fzoomtst8.c;h=40c8f90aaccd66b67c8d3772fcc2b433c6b8de49;hb=23511a86ab565d5a4ce3c8f5924a49e9d310ba98;hp=cb1ff6d8efeb62ab6126fefcc2296b4dac1f52cb;hpb=fb6d99a0c7e07d9cc4a315c447deaf6564a85505;p=yaz-moved-to-github.git diff --git a/zoom/zoomtst8.c b/zoom/zoomtst8.c index cb1ff6d..40c8f90 100644 --- a/zoom/zoomtst8.c +++ b/zoom/zoomtst8.c @@ -1,8 +1,8 @@ -/* - * $Id: zoomtst8.c,v 1.4 2005-06-25 15:46:08 adam Exp $ - * - * Asynchronous multi-target client doing scan - */ +/* $Id: zoomtst8.c,v 1.8 2007-03-21 11:27:47 adam Exp $ */ + +/** \file zoomtst8.c + \brief Asynchronous multi-target client doing scan +*/ #include #include @@ -47,7 +47,7 @@ int main(int argc, char **argv) /* set number of scan terms to be returned. */ ZOOM_connection_option_set (z[i], "number", "7"); /* and perform scan */ - s[i] = ZOOM_connection_scan (z[i], argv[argc-1]); + s[i] = ZOOM_connection_scan(z[i], argv[argc-1]); } /* network I/O. pass number of connections and array of connections */ @@ -64,7 +64,7 @@ int main(int argc, char **argv) errmsg, error, addinfo); else { - size_t j; + int j; printf ("%s\n", ZOOM_connection_option_get(z[i], "host")); for (j = 0; j