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:
54453c3
)
Change log of retrieval of default resource
author
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 6 Jul 2006 07:59:39 +0000
(07:59 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 6 Jul 2006 07:59:39 +0000
(07:59 +0000)
util/res.c
patch
|
blob
|
history
diff --git
a/util/res.c
b/util/res.c
index
fe56609
..
c388235
100644
(file)
--- a/
util/res.c
+++ b/
util/res.c
@@
-1,4
+1,4
@@
-/* $Id: res.c,v 1.49 2006-05-10 08:13:46 adam Exp $
+/* $Id: res.c,v 1.50 2006-07-06 07:59:39 adam Exp $
Copyright (C) 1995-2005
Index Data ApS
@@
-307,7
+307,8
@@
const char *res_get_def(Res r, const char *name, const char *def)
if (!(t = res_get(r, name)))
{
- yaz_log(YLOG_DEBUG, "CAUTION: Using default resource %s:%s", name, def);
+ if (def)
+ yaz_log(YLOG_DEBUG, "Using default resource %s:%s", name, def);
return def;
}
else