summaryrefslogtreecommitdiffstats
path: root/syslogd.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-03-14 07:45:54 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-03-14 07:45:54 +0000
commit35b08726373868a4259bd70f79ba4bf25803e829 (patch)
treee97c5429540a807bead80eeb3ab86c974192519b /syslogd.c
parent5287b695e6961ff4941aa0e0e5ba743334415234 (diff)
downloadrsyslog-35b08726373868a4259bd70f79ba4bf25803e829.zip
rsyslog-35b08726373868a4259bd70f79ba4bf25803e829.tar.gz
rsyslog-35b08726373868a4259bd70f79ba4bf25803e829.tar.xz
bugfix: $ModDir should not be reset on $ResetConfig - this can cause a lot
of confusion and there is no real good reason to do so. Also conflicts with the new -M option and environment setting.
Diffstat (limited to 'syslogd.c')
-rw-r--r--syslogd.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/syslogd.c b/syslogd.c
index 487fbb4..e50e472 100644
--- a/syslogd.c
+++ b/syslogd.c
@@ -391,10 +391,6 @@ static rsRetVal resetConfigVariables(uchar __attribute__((unused)) *pp, void __a
bEscapeCCOnRcv = 1; /* default is to escape control characters */
bReduceRepeatMsgs = (logEveryMsg == 1) ? 0 : 1;
bDropMalPTRMsgs = 0;
- if(pModDir != NULL) {
- free(pModDir);
- pModDir = NULL;
- }
if(pszWorkDir != NULL) {
free(pszWorkDir);
pszWorkDir = NULL;