From: Adam Dickmeiss Date: Sat, 24 Feb 2007 18:44:54 +0000 (+0000) Subject: Fixed bug #927: DOM Module returns wrong diagnostic (24, should be 25). X-Git-Tag: YAZ.2.1.52~5 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=97daa5b35cab732ac0fc5192bcdc70bbf46a1751;p=yaz-moved-to-github.git Fixed bug #927: DOM Module returns wrong diagnostic (24, should be 25). --- diff --git a/src/seshigh.c b/src/seshigh.c index ec28830..23d2673 100644 --- a/src/seshigh.c +++ b/src/seshigh.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2007, Index Data ApS * See the file LICENSE for details. * - * $Id: seshigh.c,v 1.109 2007-01-16 14:12:38 adam Exp $ + * $Id: seshigh.c,v 1.110 2007-02-24 18:44:54 adam Exp $ */ /** * \file seshigh.c @@ -612,7 +612,8 @@ static int retrieve_fetch(association *assoc, bend_fetch_rr *rr) else if (r == 1 || r == 3) { const char *details = input_schema; - rr->errcode = YAZ_BIB1_ELEMENT_SET_NAMES_UNSUPP; + rr->errcode = + YAZ_BIB1_SPECIFIED_ELEMENT_SET_NAME_NOT_VALID_FOR_SPECIFIED_; if (details) rr->errstring = odr_strdup(rr->stream, details); return -1; @@ -2362,7 +2363,7 @@ static Z_APDU *process_initRequest(association *assoc, request *reqb) assoc->init->implementation_name, odr_prepend(assoc->encode, "GFS", resp->implementationName)); - version = odr_strdup(assoc->encode, "$Revision: 1.109 $"); + version = odr_strdup(assoc->encode, "$Revision: 1.110 $"); if (strlen(version) > 10) /* check for unexpanded CVS strings */ version[strlen(version)-2] = '\0'; resp->implementationVersion = odr_prepend(assoc->encode,