summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-02-12 13:14:11 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-02-12 13:14:11 +0000
commitc73ab075e6185eb424df9c9e588de664c55a8d96 (patch)
tree39f17f8c5cf849ce08bb45b8a1c8daa8255760f5
parent09d7d7d2583de936cfafa8b9452c77664b3fcdfa (diff)
downloadrsyslog-c73ab075e6185eb424df9c9e588de664c55a8d96.tar.gz
rsyslog-c73ab075e6185eb424df9c9e588de664c55a8d96.tar.xz
rsyslog-c73ab075e6185eb424df9c9e588de664c55a8d96.zip
bugfix: setting for $EscapeCopntrolCharactersOnReceive was not properly
initialized
-rw-r--r--ChangeLog2
-rw-r--r--syslogd.c2
2 files changed, 3 insertions, 1 deletions
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