diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-12-27 14:29:09 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-12-27 14:29:09 +0000 |
commit | cebbf6d44ef277c7349fec19e70f93915b351e2a (patch) | |
tree | 78ecc0d718d255e06e55fabf87a1244598574783 /syslogd.c | |
parent | c7b246e3b64b79f588f364d904cdb1337eccd91b (diff) | |
download | rsyslog-cebbf6d44ef277c7349fec19e70f93915b351e2a.tar.gz rsyslog-cebbf6d44ef277c7349fec19e70f93915b351e2a.tar.xz rsyslog-cebbf6d44ef277c7349fec19e70f93915b351e2a.zip |
some cleanup
Diffstat (limited to 'syslogd.c')
-rw-r--r-- | syslogd.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |