From c73ab075e6185eb424df9c9e588de664c55a8d96 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Tue, 12 Feb 2008 13:14:11 +0000 Subject: bugfix: setting for $EscapeCopntrolCharactersOnReceive was not properly initialized --- ChangeLog | 2 ++ syslogd.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 0f05a14f..c125ea1f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ --------------------------------------------------------------------------- Version 2.0.3 STABLE (rgerhards), 2008-02-?? +- bugfix: setting for $EscapeCopntrolCharactersOnReceive was not + properly initialized --------------------------------------------------------------------------- Version 2.0.2 STABLE (rgerhards), 2008-02-12 - fixed a bug that could cause invalid string handling via strerror_r diff --git a/syslogd.c b/syslogd.c index 396a540b..e03ff05e 100644 --- a/syslogd.c +++ b/syslogd.c @@ -471,7 +471,7 @@ static int bDebugPrintCfSysLineHandlerList = 1;/* output cfsyslinehandler list i static int bDebugPrintModuleList = 1;/* output module list in debug mode? */ int bDropMalPTRMsgs = 0;/* Drop messages which have malicious PTR records during DNS lookup */ static uchar cCCEscapeChar = '\\';/* character to be used to start an escape sequence for control chars */ -static int bEscapeCCOnRcv; /* escape control characters on reception: 0 - no, 1 - yes */ +static int bEscapeCCOnRcv = 1; /* escape control characters on reception: 0 - no, 1 - yes */ static int bReduceRepeatMsgs; /* reduce repeated message - 0 - no, 1 - yes */ static int bActExecWhenPrevSusp; /* execute action only when previous one was suspended? */ static int logEveryMsg = 0;/* no repeat message processing - read-only after startup -- cgit