From a8d9ca813f29e7d1dd0e04ee5dafca2d25f38202 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 19 Jun 2007 19:39:54 +0000 Subject: [PATCH] When mod.dom alwo sets additional info when it returns diagnostic 'Specified element set name not valid for specified database'. --- index/mod_dom.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index/mod_dom.c b/index/mod_dom.c index 60cf180..39733af 100644 --- a/index/mod_dom.c +++ b/index/mod_dom.c @@ -1,4 +1,4 @@ -/* $Id: mod_dom.c,v 1.37 2007-05-19 19:44:14 adam Exp $ +/* $Id: mod_dom.c,v 1.38 2007-06-19 19:39:54 adam Exp $ Copyright (C) 1995-2007 Index Data ApS @@ -1360,6 +1360,7 @@ static int filter_retrieve (void *clientData, struct recRetrieveCtrl *p) { p->diagnostic = YAZ_BIB1_SPECIFIED_ELEMENT_SET_NAME_NOT_VALID_FOR_SPECIFIED_; + p->addinfo = odr_strdup(p->odr, esn); return 0; } -- 1.7.10.4