summaryrefslogtreecommitdiffstats
path: root/syslogd.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-12-27 14:29:09 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-12-27 14:29:09 +0000
commitcebbf6d44ef277c7349fec19e70f93915b351e2a (patch)
tree78ecc0d718d255e06e55fabf87a1244598574783 /syslogd.c
parentc7b246e3b64b79f588f364d904cdb1337eccd91b (diff)
downloadrsyslog-cebbf6d44ef277c7349fec19e70f93915b351e2a.tar.gz
rsyslog-cebbf6d44ef277c7349fec19e70f93915b351e2a.tar.xz
rsyslog-cebbf6d44ef277c7349fec19e70f93915b351e2a.zip
some cleanup
Diffstat (limited to 'syslogd.c')
-rw-r--r--syslogd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/syslogd.c b/syslogd.c
index 77e430cf..e2efa1bc 100644
--- a/syslogd.c
+++ b/syslogd.c
@@ -1345,8 +1345,8 @@ void printchopped(char *hname, char *msg, int len, int fd, int bParseHost)
int ret;
iLenDefBuf = MAXLINE;
ret = uncompress((uchar *) deflateBuf, &iLenDefBuf, (uchar *) msg+1, len-1);
- dbgprintf("Compressed message uncompressed with status %d, length: new %d, old %d.\n",
- ret, iLenDefBuf, len-1);
+ dbgprintf("Compressed message uncompressed with status %d, length: new %ld, old %d.\n",
+ ret, (long) iLenDefBuf, len-1);
/* Now check if the uncompression worked. If not, there is not much we can do. In
* that case, we log an error message but ignore the message itself. Storing the
* compressed text is dangerous, as it contains control characters. So we do