diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2011-05-20 11:35:26 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2011-05-20 11:35:26 +0200 |
commit | f847c2dda32488034f252e3bbd1a267714b99ff0 (patch) | |
tree | b4874ac47428a07b2fcaa6aa7445e03860d77023 /plugins | |
parent | cdae37d737cae680a96dead7a322b2ee975c92a1 (diff) | |
download | rsyslog-f847c2dda32488034f252e3bbd1a267714b99ff0.tar.gz rsyslog-f847c2dda32488034f252e3bbd1a267714b99ff0.tar.xz rsyslog-f847c2dda32488034f252e3bbd1a267714b99ff0.zip |
cleanup: removed useless & undocumented config directive from imrelp
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/imrelp/imrelp.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/plugins/imrelp/imrelp.c b/plugins/imrelp/imrelp.c index 9be38f8f..4d14b47a 100644 --- a/plugins/imrelp/imrelp.c +++ b/plugins/imrelp/imrelp.c @@ -59,8 +59,6 @@ static prop_t *pInputName = NULL; /* there is only one global inputName for all /* config settings */ -static int iTCPSessMax = 200; /* max number of sessions */ - /* ------------------------------ callbacks ------------------------------ */ #if 0 @@ -172,7 +170,6 @@ ENDmodExit static rsRetVal resetConfigVariables(uchar __attribute__((unused)) *pp, void __attribute__((unused)) *pVal) { - iTCPSessMax = 200; return RS_RET_OK; } @@ -196,8 +193,6 @@ CODEmodInit_QueryRegCFSLineHdlr /* register config file handlers */ CHKiRet(omsdRegCFSLineHdlr((uchar *)"inputrelpserverrun", 0, eCmdHdlrGetWord, addListener, NULL, STD_LOADABLE_MODULE_ID)); - CHKiRet(omsdRegCFSLineHdlr((uchar *)"inputrelpmaxsessions", 0, eCmdHdlrInt, - NULL, &iTCPSessMax, STD_LOADABLE_MODULE_ID)); CHKiRet(omsdRegCFSLineHdlr((uchar *)"resetconfigvariables", 1, eCmdHdlrCustomHandler, resetConfigVariables, NULL, STD_LOADABLE_MODULE_ID)); ENDmodInit |