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:
464aa66
)
Pass integer for yaz_log %u
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 13 Mar 2013 13:00:42 +0000
(14:00 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 13 Mar 2013 13:00:42 +0000
(14:00 +0100)
Not a string
src/session.c
patch
|
blob
|
history
diff --git
a/src/session.c
b/src/session.c
index
65caa7c
..
4603f2d
100644
(file)
--- a/
src/session.c
+++ b/
src/session.c
@@
-2155,7
+2155,7
@@
void session_log(struct session *s, int level, const char *fmt, ...)
va_start(ap, fmt);
yaz_vsnprintf(buf, sizeof(buf)-30, fmt, ap);
- yaz_log(level, "Session %u: %s", s ? s->session_id : "-", buf);
+ yaz_log(level, "Session %u: %s", s ? s->session_id : 0, buf);
va_end(ap);
}