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:
c8eb759
)
Added debug logging to verify ZOOM_EVENT_RECV_SEARCH
author
Dennis Schafroth
<dennis@indexdata.com>
Wed, 22 Sep 2010 14:15:26 +0000
(16:15 +0200)
committer
Dennis Schafroth
<dennis@indexdata.com>
Wed, 22 Sep 2010 14:15:26 +0000
(16:15 +0200)
src/zoom-sru.c
patch
|
blob
|
history
diff --git
a/src/zoom-sru.c
b/src/zoom-sru.c
index
0dc2745
..
bf00f61
100644
(file)
--- a/
src/zoom-sru.c
+++ b/
src/zoom-sru.c
@@
-261,8
+261,9
@@
static zoom_ret handle_srw_response(ZOOM_connection c,
syntax = c->tasks->u.search.syntax;
elementSetName = c->tasks->u.search.elementSetName;
- if (!c->tasks->u.search.recv_search_fired)
- {
+ /* Required not for reporting client hit count multiple times into session */
+ if (!c->tasks->u.search.recv_search_fired) {
+ yaz_log(YLOG_DEBUG, "posting ZOOM_EVENT_RECV_SEARCH");
event = ZOOM_Event_create(ZOOM_EVENT_RECV_SEARCH);
ZOOM_connection_put_event(c, event);
c->tasks->u.search.recv_search_fired = 1;