From: Adam Dickmeiss Date: Wed, 3 Nov 2010 12:40:03 +0000 (+0100) Subject: Fix log of hit count (Odr_int) X-Git-Tag: v1.5.1~15^2~7 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=bf08d2ca5486c0432a95987aa487f058003796a6;p=pazpar2-moved-to-github.git Fix log of hit count (Odr_int) --- diff --git a/src/client.c b/src/client.c index 7c563b2..aba43f0 100644 --- a/src/client.c +++ b/src/client.c @@ -485,13 +485,15 @@ void client_search_response(struct client *cl) } else { - yaz_log(YLOG_DEBUG, "client_search_response: hits %d", cl->hits); + yaz_log(YLOG_DEBUG, "client_search_response: hits " + ODR_INT_PRINTF, cl->hits); client_report_facets(cl, resultset); cl->record_offset = cl->startrecs; cl->hits = ZOOM_resultset_size(resultset); if (se) { se->total_hits += cl->hits; - yaz_log(YLOG_DEBUG, "client_search_response: total hits %d", se->total_hits); + yaz_log(YLOG_DEBUG, "client_search_response: total hits " + ODR_INT_PRINTF, se->total_hits); } } }