X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fzoom-sru.c;h=bf00f61103969680f12588a35f59f0c9d8400822;hp=0dc27453731f34d506c6adbde55bf3818a158bdd;hb=a5795a2df2095d5a44b012a59426e7b906db3ec9;hpb=c8eb759d01c901904810106986d58ff1bb72e3f4;ds=sidebyside diff --git a/src/zoom-sru.c b/src/zoom-sru.c index 0dc2745..bf00f61 100644 --- 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;