From e1c360ffe42917276f87ee47c003b074927de2ff Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 22 Nov 2013 11:54:37 +0100 Subject: [PATCH] ESTIMATED_HIT_COUNT = 1 facility SIM-18 --- SimpleServer.xs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/SimpleServer.xs b/SimpleServer.xs index 2855726..11622da 100644 --- a/SimpleServer.xs +++ b/SimpleServer.xs @@ -1002,6 +1002,11 @@ int bend_search(void *handle, bend_search_rr *rr) rr->extra_response_data = odr_strdupn(rr->stream, ptr, len); } + temp = hv_fetch(href, "ESTIMATED" "_HIT_" "COUNT", 19, 0); + if (temp) + { + rr->estimated_hit_count = SvIV(*temp); + } hv_undef(href); av_undef(aref); -- 1.7.10.4