summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-02-12 13:04:38 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-02-12 13:04:38 +0000
commit35498720c851ff4187832dbf5898886ae97164b0 (patch)
tree6b244af342ddfa3e188d8db71037f34df6fca354
parent32057ac4f9c31cd01e6501b08a60a46a319d8a2c (diff)
downloadrsyslog-35498720c851ff4187832dbf5898886ae97164b0.tar.gz
rsyslog-35498720c851ff4187832dbf5898886ae97164b0.tar.xz
rsyslog-35498720c851ff4187832dbf5898886ae97164b0.zip
bugfix: setting for $EscapeCopntrolCharactersOnReceive was not properly
initialized
-rw-r--r--syslogd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/syslogd.c b/syslogd.c
index 62c751c7..5bccc738 100644
--- a/syslogd.c
+++ b/syslogd.c
@@ -368,7 +368,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