Coded bounce filter which returns all packages unprocessed, not sending any package...
[metaproxy-moved-to-github.git] / src / filter_virt_db.cpp
index 215ea71..692d361 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: filter_virt_db.cpp,v 1.43 2006-07-06 13:55:42 adam Exp $
+/* $Id: filter_virt_db.cpp,v 1.45 2006-08-30 12:27:34 adam Exp $
    Copyright (c) 2005-2006, Index Data.
 
    See the LICENSE file for details
@@ -470,8 +470,6 @@ void yf::Virt_db::Frontend::fixup_npr_record(ODR odr, Z_NamePlusRecord *npr,
     {
         std::string b_database = std::string(npr->databaseName);
 
-        std::cout << "Fix up: " << b_database << "\n";
-
         // consider each of the frontend databases..
         std::list<std::string>::const_iterator db_it;
         for (db_it = b->m_frontend_databases.begin(); 
@@ -683,7 +681,7 @@ void yf::Virt_db::process(mp::Package &package) const
         Z_InitRequest *req = gdu->u.z3950->u.initRequest;
         
         std::list<std::string> vhosts;
-        mp::util::get_vhost_otherinfo(&req->otherInfo, false, vhosts);
+        mp::util::get_vhost_otherinfo(req->otherInfo, vhosts);
         if (vhosts.size() == 0)
         {
             f->m_init_gdu = gdu;