projects
/
pazpar2-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:
1d410a9
)
Fix segv on Solaris which don't like NULLs for %s
author
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 29 May 2012 14:19:53 +0000
(16:19 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 29 May 2012 14:19:53 +0000
(16:19 +0200)
src/database.c
patch
|
blob
|
history
diff --git
a/src/database.c
b/src/database.c
index
d59ce34
..
2940c25
100644
(file)
--- a/
src/database.c
+++ b/
src/database.c
@@
-100,7
+100,8
@@
struct database *create_database_for_service(const char *id,
if (!strcmp(p->id, id))
return p;
- yaz_log(YLOG_DEBUG, "new database %s under service %s", id, service->id);
+ yaz_log(YLOG_DEBUG, "new database %s under service %s", id,
+ service->id ? service->id : "null");
p = new_database_inherit_settings(id, service->nmem, service->settings);
p->next = service->databases;
service->databases = p;