Introduce filter method 'start'
[metaproxy-moved-to-github.git] / src / filter_z3950_client.cpp
index 601af44..683c09a 100644 (file)
@@ -309,7 +309,7 @@ yf::Z3950Client::Assoc *yf::Z3950Client::Rep::get_assoc(Package &package)
         for (; it != m_clients.end(); it++)
         {
             yf::Z3950Client::Assoc *as = it->second;
-            if (!strcmp(as->get_hostname(), host.c_str()))
+            if (!strcmp(as->m_host.c_str(), host.c_str()))
             {
                 number++;
                 if (!as->m_in_use)