made relp modules use new relpengine-provided feature selection functions

This commit is contained in:
Rainer Gerhards 2008-03-27 11:24:11 +00:00
parent 5455d972d8
commit 28bc2f061b
2 changed files with 2 additions and 1 deletions

View File

@ -189,7 +189,7 @@ static void moduleDestruct(modInfo_t *pThis)
if(pThis->pszName != NULL) if(pThis->pszName != NULL)
free(pThis->pszName); free(pThis->pszName);
if(pThis->pModHdlr != NULL) { if(pThis->pModHdlr != NULL) {
# if 1 # if 0
dlclose(pThis->pModHdlr); dlclose(pThis->pModHdlr);
# else # else
# warning "dlclose disabled for valgrind, re-enable before release" # warning "dlclose disabled for valgrind, re-enable before release"

View File

@ -324,6 +324,7 @@ CODEmodInit_QueryRegCFSLineHdlr
/* create our relp engine */ /* create our relp engine */
CHKiRet(relpEngineConstruct(&pRelpEngine)); CHKiRet(relpEngineConstruct(&pRelpEngine));
CHKiRet(relpEngineSetDbgprint(pRelpEngine, dbgprintf)); CHKiRet(relpEngineSetDbgprint(pRelpEngine, dbgprintf));
CHKiRet(relpEngineSetEnableCmd(pRelpEngine, (uchar*) "syslog", eRelpCmdState_Desired));
/* tell which objects we need */ /* tell which objects we need */
CHKiRet(objUse(errmsg, CORE_COMPONENT)); CHKiRet(objUse(errmsg, CORE_COMPONENT));