From: Adam Dickmeiss Date: Wed, 24 Jun 2015 11:45:13 +0000 (+0000) Subject: Fix multi: hideunavailable don't hide targets that timeout MP-615 X-Git-Tag: v1.8.10~1 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=a752c3a98eb824cf13596f3ddf3cade68ce04c49;p=metaproxy-moved-to-github.git Fix multi: hideunavailable don't hide targets that timeout MP-615 --- diff --git a/src/filter_multi.cpp b/src/filter_multi.cpp index 19be558..5c581e5 100644 --- a/src/filter_multi.cpp +++ b/src/filter_multi.cpp @@ -691,7 +691,7 @@ void yf::Multi::Frontend::search(mp::Package &package, Z_APDU *apdu_req) close_p ? "true" : "false", m_p->m_hide_errors ? "true" : "false"); *f_resp->resultCount = result_set_size; - if (close_p && (no_successful == 0 || !m_p->m_hide_errors)) + if (close_p && (no_successful == 0 || !m_p->m_hide_unavailable)) { package.session().close(); package.response() = close_p->response();