summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-10-19 10:17:24 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-10-19 10:17:24 +0200
commit4ccf24c096073e9ef1681faf8c459474d6e584c2 (patch)
tree97953ae328998d7478262576a2140b43082d3391 /tools
parente005c5569c3e0c7c9a098036b7ec3596c3c722b4 (diff)
downloadrsyslog-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.c16
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");