summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-12-27 17:32:10 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-12-27 17:32:10 +0000
commitbcdb6dcfd7b28e3dbf9fa0c4e9f718b6b91a7b3f (patch)
tree7461da3b71b32125a1bb74c7a0d2fa95f2921bfd /plugins
parentcebbf6d44ef277c7349fec19e70f93915b351e2a (diff)
downloadrsyslog-bcdb6dcfd7b28e3dbf9fa0c4e9f718b6b91a7b3f.tar.gz
rsyslog-bcdb6dcfd7b28e3dbf9fa0c4e9f718b6b91a7b3f.tar.xz
rsyslog-bcdb6dcfd7b28e3dbf9fa0c4e9f718b6b91a7b3f.zip
internal restructuring in omfwd.c - stage work for further modularization I
think I also fixed a bug as a side-effect - but not looked to much at it
Diffstat (limited to 'plugins')
-rw-r--r--plugins/imtcp/imtcp.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/plugins/imtcp/imtcp.c b/plugins/imtcp/imtcp.c
index 1efd5316..579885ca 100644
--- a/plugins/imtcp/imtcp.c
+++ b/plugins/imtcp/imtcp.c
@@ -204,12 +204,6 @@ dbgprintf("imtcp: bEnableTCP %d\n", bEnableTCP);
#endif
if (bEnableTCP) {
if(sockTCPLstn == NULL) {
- /* even when doing a re-init, we do not shut down and
- * re-open the TCP socket. That would break existing TCP
- * session, which we do not desire. Should at some time arise
- * need to do that, I recommend controlling that via a
- * user-selectable option. rgerhards, 2007-06-21
- */
# ifdef USE_GSSAPI
if(bEnableTCP & ALLOWEDMETHOD_GSS) {
if(TCPSessGSSInit()) {
@@ -230,13 +224,11 @@ ENDwillRun
BEGINafterRun
CODESTARTafterRun
/* do cleanup here */
-dbgprintf("call clearAllowedSenders(0x%lx)\n", (unsigned long) pAllowedSenders_TCP);
if (pAllowedSenders_TCP != NULL) {
clearAllowedSenders (pAllowedSenders_TCP);
pAllowedSenders_TCP = NULL;
}
#ifdef USE_GSSAPI
-dbgprintf("call clearAllowedSenders(0x%lx)\n", (unsigned long) pAllowedSenders_GSS);
if (pAllowedSenders_GSS != NULL) {
clearAllowedSenders (pAllowedSenders_GSS);
pAllowedSenders_GSS = NULL;
@@ -290,8 +282,6 @@ CODESTARTmodInit
*ipIFVersProvided = 1; /* so far, we only support the initial definition */
CODEmodInit_QueryRegCFSLineHdlr
/* register config file handlers */
- //CHKiRet(omsdRegCFSLineHdlr((uchar *)"omitlocallogging", 0, eCmdHdlrBinary,
- // NULL, &bOmitLocalLogging, STD_LOADABLE_MODULE_ID));
#if defined(USE_GSSAPI)
CHKiRet(regCfSysLineHdlr((uchar *)"gsslistenservicename", 0, eCmdHdlrGetWord, NULL, &gss_listen_service_name, NULL));
#endif