mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-20 13:10:43 +01:00
made relp modules use new relpengine-provided feature selection functions
This commit is contained in:
parent
5455d972d8
commit
28bc2f061b
@ -189,7 +189,7 @@ static void moduleDestruct(modInfo_t *pThis)
|
||||
if(pThis->pszName != NULL)
|
||||
free(pThis->pszName);
|
||||
if(pThis->pModHdlr != NULL) {
|
||||
# if 1
|
||||
# if 0
|
||||
dlclose(pThis->pModHdlr);
|
||||
# else
|
||||
# warning "dlclose disabled for valgrind, re-enable before release"
|
||||
|
||||
@ -324,6 +324,7 @@ CODEmodInit_QueryRegCFSLineHdlr
|
||||
/* create our relp engine */
|
||||
CHKiRet(relpEngineConstruct(&pRelpEngine));
|
||||
CHKiRet(relpEngineSetDbgprint(pRelpEngine, dbgprintf));
|
||||
CHKiRet(relpEngineSetEnableCmd(pRelpEngine, (uchar*) "syslog", eRelpCmdState_Desired));
|
||||
|
||||
/* tell which objects we need */
|
||||
CHKiRet(objUse(errmsg, CORE_COMPONENT));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user