diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-08-01 10:03:59 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-08-01 10:03:59 +0000 |
commit | 723733291562ea73399d2947067ca74d12152a1b (patch) | |
tree | 6830d5034fcf34d6e4e1a14e2e3235ca60baa5fd /syslogd.c | |
parent | bec7683ec23befea56d885bc18e7e0fdc6fdf08b (diff) | |
download | rsyslog-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.c | 12 |
1 files changed, 1 insertions, 11 deletions
@@ -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)); |