projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update for YAZ 3s new OID system
[idzebra-moved-to-github.git]
/
util
/
res.c
diff --git
a/util/res.c
b/util/res.c
index
5e4a730
..
fda7330
100644
(file)
--- a/
util/res.c
+++ b/
util/res.c
@@
-1,5
+1,5
@@
-/* $Id: res.c,v 1.54 2006-12-06 10:26:40 adam Exp $
- Copyright (C) 1995-2006
+/* $Id: res.c,v 1.56 2007-01-15 15:10:26 adam Exp $
+ Copyright (C) 1995-2007
Index Data ApS
This file is part of the Zebra server.
Index Data ApS
This file is part of the Zebra server.
@@
-344,6
+344,8
@@
void res_set(Res r, const char *name, const char *value)
struct res_entry *re;
assert(r);
struct res_entry *re;
assert(r);
+ if (!value)
+ return;
for (re = r->first; re; re=re->next)
if (re->value && !yaz_matchstr(re->name, name))
{
for (re = r->first; re; re=re->next)
if (re->value && !yaz_matchstr(re->name, name))
{