zoom: check for valid proxy from Torus too
authorAdam Dickmeiss <adam@indexdata.dk>
Wed, 25 Apr 2012 11:58:17 +0000 (13:58 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Wed, 25 Apr 2012 11:58:17 +0000 (13:58 +0200)
src/filter_zoom.cpp

index 617144c..dabbc83 100644 (file)
@@ -1260,7 +1260,6 @@ yf::Zoom::BackendPtr yf::Zoom::Frontend::get_backend_from_databases(
 
     BackendPtr b(new Backend);
 
-    b->m_proxy = proxy;
     b->sptr = sptr;
     b->xsp = xsp;
     b->m_frontend_database = database;
@@ -1284,6 +1283,7 @@ yf::Zoom::BackendPtr yf::Zoom::Frontend::get_backend_from_databases(
 
     if (proxy.length() == 0)
         proxy = sptr->cfProxy;
+    b->m_proxy = proxy;
     
     if (sptr->cfAuth.length())
     {