X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=src%2Ffilter_auth_simple.cpp;h=0d07a047b21beaeda5c01e7ae3c002fe2dc9750e;hb=0d323a3f455c0a0a669fa33e77b670d1af23fec5;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..0d07a04 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-2009 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 @@ -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 */ +