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:
92017b9
)
Solaris crashes on %s with NULL ptr
author
Adam Dickmeiss
<adam@indexdata.dk>
Sat, 22 Sep 2012 16:53:51 +0000
(18:53 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Sat, 22 Sep 2012 16:53:51 +0000
(18:53 +0200)
src/pazpar2_config.c
patch
|
blob
|
history
diff --git
a/src/pazpar2_config.c
b/src/pazpar2_config.c
index
57809b1
..
00e36a6
100644
(file)
--- a/
src/pazpar2_config.c
+++ b/
src/pazpar2_config.c
@@
-656,7
+656,7
@@
static struct conf_service *service_create_static(struct conf_server *server,
if (default_sort && strcmp(default_sort, "")) {
service->default_sort = nmem_strdup(service->nmem, default_sort);
yaz_log(YLOG_LOG, "service %s: default sort order configured to: %s",
- service_id, default_sort);
+ service_id ? service_id : "unnamed", default_sort);
}
else
{