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
Add z_Term_create for creating Z_Term things
[yaz-moved-to-github.git]
/
zoom
/
zoomtst4.c
diff --git
a/zoom/zoomtst4.c
b/zoom/zoomtst4.c
index
9bc0eaa
..
ff1e563
100644
(file)
--- a/
zoom/zoomtst4.c
+++ b/
zoom/zoomtst4.c
@@
-1,8
+1,6
@@
-/*
- * $Id: zoomtst4.c,v 1.8 2005-06-25 15:46:08 adam Exp $
- *
- * Asynchronous multi-target going through proxy doing search and retrieve
- * using present.
+/* This file is part of the YAZ toolkit.
+ * Copyright (C) 1995-2011 Index Data
+ * See the file LICENSE for details.
*/
#include <stdio.h>
*/
#include <stdio.h>
@@
-77,8
+75,8
@@
int main(int argc, char **argv)
ZOOM_connection_option_get(z[i], "host"),
errmsg, error, addinfo);
else
ZOOM_connection_option_get(z[i], "host"),
errmsg, error, addinfo);
else
- printf ("%s: %d hits\n", ZOOM_connection_option_get(z[i], "host"),
- ZOOM_resultset_size(r[i]));
+ printf ("%s: %ld hits\n", ZOOM_connection_option_get(z[i], "host"),
+ (long) ZOOM_resultset_size(r[i]));
}
/* destroy stuff and exit */
}
/* destroy stuff and exit */
@@
-94,6
+92,7
@@
int main(int argc, char **argv)
/*
* Local variables:
* c-basic-offset: 4
/*
* Local variables:
* c-basic-offset: 4
+ * c-file-style: "Stroustrup"
* indent-tabs-mode: nil
* End:
* vim: shiftwidth=4 tabstop=8 expandtab
* indent-tabs-mode: nil
* End:
* vim: shiftwidth=4 tabstop=8 expandtab