From: Adam Dickmeiss Date: Tue, 17 Jan 2006 16:42:28 +0000 (+0000) Subject: Return other diagnostic if multiple vhosts is given X-Git-Tag: YP2.0.0.2~44 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=265f9e4b40f59ceb4b42164bad1f36d5a437fe01;p=metaproxy-moved-to-github.git Return other diagnostic if multiple vhosts is given --- diff --git a/src/filter_z3950_client.cpp b/src/filter_z3950_client.cpp index 594a66b..6808f85 100644 --- a/src/filter_z3950_client.cpp +++ b/src/filter_z3950_client.cpp @@ -1,4 +1,4 @@ -/* $Id: filter_z3950_client.cpp,v 1.21 2006-01-17 13:34:51 adam Exp $ +/* $Id: filter_z3950_client.cpp,v 1.22 2006-01-17 16:42:28 adam Exp $ Copyright (c) 2005, Index Data. %LICENSE% @@ -243,7 +243,7 @@ yf::Z3950Client::Assoc *yf::Z3950Client::Rep::get_assoc(Package &package) yp2::odr odr; package.response() = odr.create_initResponse( apdu, - YAZ_BIB1_INIT_NEGOTIATION_OPTION_REQUIRED, + YAZ_BIB1_COMBI_OF_SPECIFIED_DATABASES_UNSUPP, "z3950_client: Can not cope with multiple vhosts"); package.session().close(); return 0;