summaryrefslogtreecommitdiffstats
path: root/syslogd.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-08-01 10:03:59 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-08-01 10:03:59 +0000
commit723733291562ea73399d2947067ca74d12152a1b (patch)
tree6830d5034fcf34d6e4e1a14e2e3235ca60baa5fd /syslogd.c
parentbec7683ec23befea56d885bc18e7e0fdc6fdf08b (diff)
downloadrsyslog-723733291562ea73399d2947067ca74d12152a1b.tar.gz
rsyslog-723733291562ea73399d2947067ca74d12152a1b.tar.xz
rsyslog-723733291562ea73399d2947067ca74d12152a1b.zip
- changed name of $Include to $IncludeConfig - sound better as it is more
explicit (we'll see where else we get includes for...)
Diffstat (limited to 'syslogd.c')
-rw-r--r--syslogd.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/syslogd.c b/syslogd.c
index f6ef5fc0..3d3ce08c 100644
--- a/syslogd.c
+++ b/syslogd.c
@@ -3650,16 +3650,6 @@ rsRetVal cfsysline(uchar *p)
* list of cfsysline handlers. -- rgerhards, 2007-07-31
*/
CHKiRet(processCfSysLineCommand(szCmd, &p));
-#if 0
- if((iRet = processCfSysLineCommand(szCmd, &p)) != RS_RET_OK) {
- /* invalid command! */
- char err[256];
- snprintf(err, sizeof(err)/sizeof(char),
- "Invalid command in $-configline: '%s' (error %d) - line ignored\n", szCmd, iRet);
- logerror(err);
- ABORT_FINALIZE(RS_RET_INVALID_CMD);
- }
-#endif
/* now check if we have some extra characters left on the line - that
* should not be the case. Whitespace is OK, but everything else should
@@ -5355,7 +5345,7 @@ static rsRetVal loadBuildInModules(void)
CHKiRet(regCfSysLineHdlr((uchar *)"outchannel", 0, eCmdHdlrCustomHandler, doNameLine, (void*)DIR_OUTCHANNEL));
CHKiRet(regCfSysLineHdlr((uchar *)"allowedsender", 0, eCmdHdlrCustomHandler, doNameLine, (void*)DIR_ALLOWEDSENDER));
CHKiRet(regCfSysLineHdlr((uchar *)"modload", 0, eCmdHdlrCustomHandler, doModLoad, NULL));
- CHKiRet(regCfSysLineHdlr((uchar *)"include", 0, eCmdHdlrCustomHandler, doIncludeLine, NULL));
+ CHKiRet(regCfSysLineHdlr((uchar *)"includeconfig", 0, eCmdHdlrCustomHandler, doIncludeLine, NULL));
CHKiRet(regCfSysLineHdlr((uchar *)"umask", 0, eCmdHdlrFileCreateMode, setUmask, NULL));
CHKiRet(regCfSysLineHdlr((uchar *)"debugprinttemplatelist", 0, eCmdHdlrBinary, NULL, &bDebugPrintTemplateList));
CHKiRet(regCfSysLineHdlr((uchar *)"debugprintmodulelist", 0, eCmdHdlrBinary, NULL, &bDebugPrintModuleList));