From 265f9e4b40f59ceb4b42164bad1f36d5a437fe01 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 17 Jan 2006 16:42:28 +0000 Subject: [PATCH] Return other diagnostic if multiple vhosts is given --- src/filter_z3950_client.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 1.7.10.4