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 varous 0 ptr checks to Solr test
[yaz-moved-to-github.git]
/
zoom
/
zoom-ka.c
diff --git
a/zoom/zoom-ka.c
b/zoom/zoom-ka.c
index
fafc767
..
361d213
100644
(file)
--- a/
zoom/zoom-ka.c
+++ b/
zoom/zoom-ka.c
@@
-1,5
+1,5
@@
/* This file is part of the YAZ toolkit.
/* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2012 Index Data
+ * Copyright (C) Index Data
* See the file LICENSE for details.
*/
* See the file LICENSE for details.
*/
@@
-18,7
+18,7
@@
int main(int argc, char **argv)
ZOOM_connection z;
ZOOM_options o = ZOOM_options_create ();
const char *errmsg, *addinfo;
ZOOM_connection z;
ZOOM_options o = ZOOM_options_create ();
const char *errmsg, *addinfo;
-
+
if (argc != 4)
{
fprintf (stderr, "usage:\nzoom-ka sleepinterval target query\n");
if (argc != 4)
{
fprintf (stderr, "usage:\nzoom-ka sleepinterval target query\n");
@@
-35,7
+35,7
@@
int main(int argc, char **argv)
ZOOM_resultset rset;
ZOOM_connection_connect (z, argv[2], 0);
rset = ZOOM_connection_search_pqf(z, argv[3]);
ZOOM_resultset rset;
ZOOM_connection_connect (z, argv[2], 0);
rset = ZOOM_connection_search_pqf(z, argv[3]);
-
+
while ((i = ZOOM_event(1, &z)))
{
printf ("no = %d event = %d\n", i-1,
while ((i = ZOOM_event(1, &z)))
{
printf ("no = %d event = %d\n", i-1,