projects
/
idzebra-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ff9ad2
)
mod_dom: fix error handling for no retrieve elems
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 28 Oct 2009 11:37:08 +0000
(12:37 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 28 Oct 2009 11:37:08 +0000
(12:37 +0100)
index/mod_dom.c
patch
|
blob
|
history
diff --git
a/index/mod_dom.c
b/index/mod_dom.c
index
ea55b90
..
f4b17ed
100644
(file)
--- a/
index/mod_dom.c
+++ b/
index/mod_dom.c
@@
-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;
}