diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-07-31 16:59:39 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-07-31 16:59:39 +0000 |
commit | af35de6774ebaf1f26c078217c342627403375c0 (patch) | |
tree | 51396176872b8127f38b22b4a4afee5660617b53 /cfsysline.c | |
parent | 86afe5b17c5a097373b90d63502e1a983ed4d6bf (diff) | |
download | rsyslog-af35de6774ebaf1f26c078217c342627403375c0.tar.gz rsyslog-af35de6774ebaf1f26c078217c342627403375c0.tar.xz rsyslog-af35de6774ebaf1f26c078217c342627403375c0.zip |
- $ResetConfigVariables now also works vir the table-driven sytem. However,
I need to fix an issue with loading default settings when syslogd is
started or HUPed
Diffstat (limited to 'cfsysline.c')
-rw-r--r-- | cfsysline.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cfsysline.c b/cfsysline.c index 5b6c7b13..2c20b2bc 100644 --- a/cfsysline.c +++ b/cfsysline.c @@ -548,8 +548,14 @@ rsRetVal regCfSysLineHdlr(uchar *pCmdName, ecslCmdHdrlType eType, rsRetVal (*pHd } } else { /* command already exists, are we allowed to chain? */ +#if 0 iRet = RS_RET_NOT_IMPLEMENTED; // TODO: implement it! goto finalize_it; +#endif + CHKiRet_Hdlr(cslcAddHdlr(pThis, eType, pHdlr, pData)) { + cslcDestruct(pThis); + goto finalize_it; + } } finalize_it: @@ -621,6 +627,7 @@ void dbgPrintCfSysLineHandlers(void) printf("\t\ttype : %d\n", pCmdHdlr->eType); printf("\t\tpData: 0x%x\n", (unsigned) pCmdHdlr->pData); printf("\t\tHdlr : 0x%x\n", (unsigned) pCmdHdlr->cslCmdHdlr); + printf("\n"); } } printf("\n"); |