X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=src%2Ffilter_auth_simple.cpp;h=a381ced535f48331e41d69ffe8d3442f1a2d06e2;hb=2a22abb08a31fd2ce7343b26fdcb045bd8e42199;hp=9cd47db3d9166c6f565127e0bd4ec18e730070fa;hpb=06c29d513670aa5baf1e005c26f40b7a4ce71483;p=metaproxy-moved-to-github.git diff --git a/src/filter_auth_simple.cpp b/src/filter_auth_simple.cpp index 9cd47db..a381ced 100644 --- a/src/filter_auth_simple.cpp +++ b/src/filter_auth_simple.cpp @@ -1,5 +1,5 @@ /* This file is part of Metaproxy. - Copyright (C) 2005-2008 Index Data + Copyright (C) 2005-2011 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 @@ -18,13 +18,13 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #include "config.hpp" -#include "filter.hpp" -#include "package.hpp" +#include +#include #include #include -#include "util.hpp" +#include #include "filter_auth_simple.hpp" #include @@ -335,7 +335,6 @@ static void reject_init(mp::Package &package, int err, const char *addinfo) { Z_GDU *gdu = package.request().get(); mp::odr odr; Z_APDU *apdu = odr.create_initResponse(gdu->u.z3950, err, addinfo); - apdu->u.initResponse->implementationName = "YP2/YAZ"; *apdu->u.initResponse->result = 0; // reject package.response() = apdu; package.session().close(); @@ -403,8 +402,9 @@ extern "C" { /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil - * c-file-style: "stroustrup" * End: * vim: shiftwidth=4 tabstop=8 expandtab */ +