X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;ds=inline;f=src%2Ffilter_sru_to_z3950.cpp;h=96c820bc4ee005c7db6757a3c440617ebbd60094;hb=e6d572ef110d14fa55115021505b808620457bd3;hp=7ccebd30c824312ce7944b740c8eb4135f05fe1a;hpb=e8f88ae9eb36023af537c24847744f57e6bf6c4e;p=metaproxy-moved-to-github.git diff --git a/src/filter_sru_to_z3950.cpp b/src/filter_sru_to_z3950.cpp index 7ccebd3..96c820b 100644 --- a/src/filter_sru_to_z3950.cpp +++ b/src/filter_sru_to_z3950.cpp @@ -1,5 +1,5 @@ /* This file is part of Metaproxy. - Copyright (C) 2005-2009 Index Data + Copyright (C) 2005-2010 Index Data Metaproxy is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -20,9 +20,8 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #define NOMINMAX 1 #include "config.hpp" -#include "filter.hpp" -#include "package.hpp" -#include "util.hpp" +#include +#include #include "gduutil.hpp" #include "sru_util.hpp" #include "filter_sru_to_z3950.hpp" @@ -182,13 +181,6 @@ void yf::SRUtoZ3950::Impl::sru(mp::Package &package, Z_GDU *zgdu_req) { explainnode = idbexp->second; } - // just moving package if database is not known - else - { - package.move(); - return; - } - // decode SRU request Z_SOAP *soap = 0;