diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-03-14 07:45:54 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-03-14 07:45:54 +0000 |
commit | 35b08726373868a4259bd70f79ba4bf25803e829 (patch) | |
tree | e97c5429540a807bead80eeb3ab86c974192519b /syslogd.c | |
parent | 5287b695e6961ff4941aa0e0e5ba743334415234 (diff) | |
download | rsyslog-35b08726373868a4259bd70f79ba4bf25803e829.tar.gz rsyslog-35b08726373868a4259bd70f79ba4bf25803e829.tar.xz rsyslog-35b08726373868a4259bd70f79ba4bf25803e829.zip |
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.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -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; |