summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-03-28 10:31:10 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-03-28 10:31:10 +0000
commit7a747262c9d4491f94846bffde4d49b3dc838f2d (patch)
tree1b8f6df15b1d53bc56be3db65d0056a3d1a8a6dc
parentf2fcb032110bc4b590c96b70518a4e1e1e03b279 (diff)
downloadrsyslog-7a747262c9d4491f94846bffde4d49b3dc838f2d.tar.gz
rsyslog-7a747262c9d4491f94846bffde4d49b3dc838f2d.tar.xz
rsyslog-7a747262c9d4491f94846bffde4d49b3dc838f2d.zip
cleanup
-rw-r--r--omfile.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/omfile.c b/omfile.c
index c232118a..6a53a723 100644
--- a/omfile.c
+++ b/omfile.c
@@ -94,7 +94,6 @@ typedef struct _instanceData {
eTypeCONSOLE,
eTypePIPE
} fileType;
- struct template *pTpl; /* pointer to template object */
char bDynamicName; /* 0 - static name, 1 - dynamic name (with properties) */
int fCreateMode; /* file creation mode for open() */
int fDirCreateMode; /* creation mode for mkdir() */
@@ -839,8 +838,8 @@ CODEmodInit_QueryRegCFSLineHdlr
CHKiRet(omsdRegCFSLineHdlr((uchar *)"createdirs", 0, eCmdHdlrBinary, NULL, &bCreateDirs, STD_LOADABLE_MODULE_ID));
CHKiRet(omsdRegCFSLineHdlr((uchar *)"failonchownfailure", 0, eCmdHdlrBinary, NULL, &bFailOnChown, STD_LOADABLE_MODULE_ID));
CHKiRet(omsdRegCFSLineHdlr((uchar *)"actionfileenablesync", 0, eCmdHdlrBinary, NULL, &bEnableSync, STD_LOADABLE_MODULE_ID));
- CHKiRet(omsdRegCFSLineHdlr((uchar *)"resetconfigvariables", 1, eCmdHdlrCustomHandler, resetConfigVariables, NULL, STD_LOADABLE_MODULE_ID));
CHKiRet(regCfSysLineHdlr((uchar *)"actionfiledefaulttemplate", 0, eCmdHdlrGetWord, NULL, &pszTplName, NULL));
+ CHKiRet(omsdRegCFSLineHdlr((uchar *)"resetconfigvariables", 1, eCmdHdlrCustomHandler, resetConfigVariables, NULL, STD_LOADABLE_MODULE_ID));
ENDmodInit
/*
* vi:set ai: