From: Adam Dickmeiss Date: Mon, 10 Oct 2011 14:10:31 +0000 (+0200) Subject: zoom: handle torus url not given (is optional) X-Git-Tag: v1.3.12~19 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=757801de550ddcf90d0a7ff2c5fcdac299fd3d8d;p=metaproxy-moved-to-github.git zoom: handle torus url not given (is optional) --- diff --git a/src/filter_zoom.cpp b/src/filter_zoom.cpp index 1e013eb..b735881 100644 --- a/src/filter_zoom.cpp +++ b/src/filter_zoom.cpp @@ -658,7 +658,7 @@ yf::Zoom::BackendPtr yf::Zoom::Frontend::get_backend_from_databases( it = m_p->s_map.find(torus_db); if (it != m_p->s_map.end()) sptr = it->second; - else + else if (m_p->torus_url.length() > 0) { xmlDoc *doc = mp::get_searchable(m_p->torus_url, torus_db, m_p->proxy); if (!doc)