diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-10-19 10:17:24 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-10-19 10:17:24 +0200 |
commit | 4ccf24c096073e9ef1681faf8c459474d6e584c2 (patch) | |
tree | 97953ae328998d7478262576a2140b43082d3391 /tools | |
parent | e005c5569c3e0c7c9a098036b7ec3596c3c722b4 (diff) | |
download | rsyslog-4ccf24c096073e9ef1681faf8c459474d6e584c2.tar.gz rsyslog-4ccf24c096073e9ef1681faf8c459474d6e584c2.tar.xz rsyslog-4ccf24c096073e9ef1681faf8c459474d6e584c2.zip |
cleanup: finally moved some config variables just to conf.c
Diffstat (limited to 'tools')
-rw-r--r-- | tools/syslogd.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/tools/syslogd.c b/tools/syslogd.c index 99ccd1f1..7945ec55 100644 --- a/tools/syslogd.c +++ b/tools/syslogd.c @@ -1888,11 +1888,6 @@ init(void) struct sigaction sigAct; DEFiRet; - /* initialize some static variables */ - pDfltHostnameCmp = NULL; - pDfltProgNameCmp = NULL; - eDfltHostnameCmpMode = HN_NO_COMP; - DBGPRINTF("rsyslog %s - called init()\n", VERSION); /* construct the default ruleset */ @@ -1942,17 +1937,6 @@ init(void) legacyOptsHook(); - /* we are now done with reading the configuration. This is the right time to - * free some objects that were just needed for loading it. rgerhards 2005-10-19 - */ - if(pDfltHostnameCmp != NULL) { - rsCStrDestruct(&pDfltHostnameCmp); - } - - if(pDfltProgNameCmp != NULL) { - rsCStrDestruct(&pDfltProgNameCmp); - } - /* some checks */ if(iMainMsgQueueNumWorkers < 1) { errmsg.LogError(0, NO_ERRCODE, "$MainMsgQueueNumWorkers must be at least 1! Set to 1.\n"); |