From cca075e14291c414da87528b28cb5d631734cc12 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Thu, 30 Nov 2006 11:06:25 +0000 Subject: small fix in compressor code --- syslogd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syslogd.c b/syslogd.c index a89563a9..f8509f97 100644 --- a/syslogd.c +++ b/syslogd.c @@ -5312,7 +5312,7 @@ void fprintlog(register struct filed *f) if(destLen+1 < l) { dprintf("there is gain in compression, so we do it\n"); psz = out; - l = destLen; + l = destLen + 1; /* take care for the "z" at message start! */ } ++destLen; # endif -- cgit v1.2.3