projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replaced some error code ints with proper defines (SRU / Bib-1).
[yaz-moved-to-github.git]
/
zoom
/
zoomtst8.c
diff --git
a/zoom/zoomtst8.c
b/zoom/zoomtst8.c
index
cb1ff6d
..
f818e40
100644
(file)
--- a/
zoom/zoomtst8.c
+++ b/
zoom/zoomtst8.c
@@
-1,7
+1,6
@@
-/*
- * $Id: zoomtst8.c,v 1.4 2005-06-25 15:46:08 adam Exp $
- *
- * Asynchronous multi-target client doing scan
+/* This file is part of the YAZ toolkit.
+ * Copyright (C) 1995-2008 Index Data
+ * See the file LICENSE for details.
*/
#include <stdio.h>
*/
#include <stdio.h>
@@
-47,7
+46,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 */
/* 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 */
}
/* network I/O. pass number of connections and array of connections */
@@
-64,7
+63,7
@@
int main(int argc, char **argv)
errmsg, error, addinfo);
else
{
errmsg, error, addinfo);
else
{
- size_t j;
+ int j;
printf ("%s\n", ZOOM_connection_option_get(z[i], "host"));
for (j = 0; j<ZOOM_scanset_size (s[i]); j++)
{
printf ("%s\n", ZOOM_connection_option_get(z[i], "host"));
for (j = 0; j<ZOOM_scanset_size (s[i]); j++)
{