projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7eb11b4
)
zoomtst3: print event name
author
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 23 Sep 2010 08:49:07 +0000
(10:49 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 23 Sep 2010 08:49:07 +0000
(10:49 +0200)
zoom/zoomtst3.c
patch
|
blob
|
history
diff --git
a/zoom/zoomtst3.c
b/zoom/zoomtst3.c
index
52ee5a3
..
769df73
100644
(file)
--- a/
zoom/zoomtst3.c
+++ b/
zoom/zoomtst3.c
@@
-66,9
+66,11
@@
int main(int argc, char **argv)
while ((i = ZOOM_event (no, z)))
{
int peek = ZOOM_connection_peek_event(z[i-1]);
- printf ("no = %d peek = %d event = %d\n", i-1,
+ int event = ZOOM_connection_last_event(z[i-1]);
+ printf ("no = %d peek = %d event = %d %s\n", i-1,
peek,
- ZOOM_connection_last_event(z[i-1]));
+ event,
+ ZOOM_get_event_str(event));
}
/* no more to be done. Inspect results */