From: Adam Dickmeiss Date: Thu, 19 Nov 2009 11:23:37 +0000 (+0100) Subject: add_map_db2target uses add_map_db2targets X-Git-Tag: v1.0.20~3 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=af4aeffc188e6d93b50803694bd5e57c1dc5e520;p=metaproxy-moved-to-github.git add_map_db2target uses add_map_db2targets --- diff --git a/src/filter_virt_db.cpp b/src/filter_virt_db.cpp index 95821e4..2b6a343 100644 --- a/src/filter_virt_db.cpp +++ b/src/filter_virt_db.cpp @@ -682,8 +682,7 @@ void yf::VirtualDB::add_map_db2target(std::string db, std::list targets; targets.push_back(target); - m_p->m_maps[mp::util::database_name_normalize(db)] - = VirtualDB::Map(targets, route); + add_map_db2targets(db, targets, route); } void yf::VirtualDB::process(mp::Package &package) const