X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fseshigh.c;h=0e3186b5d38695cbe89454434181928b0b47b167;hb=f183d2f4776c9161eb229eb6ad85260bc65af54e;hp=ec2883034cdba972ddea8bf600ed72ee4cf59b78;hpb=9e3111eaac05558be44beadb89eb7ba8c73eb9d5;p=yaz-moved-to-github.git diff --git a/src/seshigh.c b/src/seshigh.c index ec28830..0e3186b 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.111 2007-03-13 09:12:09 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; @@ -676,6 +677,7 @@ static int retrieve_fetch(association *assoc, bend_fetch_rr *rr) #else (*assoc->init->bend_fetch)(assoc->backend, rr); #endif + return 0; } static int srw_bend_fetch(association *assoc, int pos, @@ -2362,7 +2364,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.111 $"); if (strlen(version) > 10) /* check for unexpanded CVS strings */ version[strlen(version)-2] = '\0'; resp->implementationVersion = odr_prepend(assoc->encode,