X-Git-Url: http://lists.indexdata.dk/cgi-bin?a=blobdiff_plain;f=index%2Fmod_dom.c;h=e3bdb47ea1cc4d67a3a2a1fd1bf4e09824167a52;hb=4dc2670c4c6c898a392a9cf0e3068b36192a8ad7;hp=ea55b902e4959df339de298297b1d14880daebad;hpb=f6e9c4d6c5480b68a703b0aeccf9ba27db68cdea;p=idzebra-moved-to-github.git diff --git a/index/mod_dom.c b/index/mod_dom.c index ea55b90..e3bdb47 100644 --- a/index/mod_dom.c +++ b/index/mod_dom.c @@ -1,5 +1,5 @@ /* This file is part of the Zebra server. - Copyright (C) 1994-2009 Index Data + Copyright (C) 1994-2011 Index Data Zebra is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -1467,7 +1467,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); + p->addinfo = odr_strdup_null(p->odr, esn); return 0; }