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
Towards 3.0.24.
[yaz-moved-to-github.git]
/
zoom
/
zoomtst3.c
diff --git
a/zoom/zoomtst3.c
b/zoom/zoomtst3.c
index
8e2a054
..
98f797c
100644
(file)
--- a/
zoom/zoomtst3.c
+++ b/
zoom/zoomtst3.c
@@
-1,4
+1,4
@@
-/* $Id: zoomtst3.c,v 1.12 2007-01-03 08:42:17 adam Exp $ */
+/* $Id: zoomtst3.c,v 1.13 2007-01-10 13:25:46 adam Exp $ */
/** \file zoomtst3.c
\brief Asynchronous multi-target client
/** \file zoomtst3.c
\brief Asynchronous multi-target client
@@
-68,7
+68,9
@@
int main(int argc, char **argv)
/* network I/O. pass number of connections and array of connections */
while ((i = ZOOM_event (no, z)))
{
/* network I/O. pass number of connections and array of connections */
while ((i = ZOOM_event (no, z)))
{
- printf ("no = %d event = %d\n", i-1,
+ int peek = ZOOM_connection_peek_event(z[i-1]);
+ printf ("no = %d peek = %d event = %d\n", i-1,
+ peek,
ZOOM_connection_last_event(z[i-1]));
}
ZOOM_connection_last_event(z[i-1]));
}