From 28bc2f061bbcd266066824dcc25cfdaf634fb474 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Thu, 27 Mar 2008 11:24:11 +0000 Subject: made relp modules use new relpengine-provided feature selection functions --- modules.c | 2 +- plugins/omrelp/omrelp.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/modules.c b/modules.c index 3aebdb64..1ec72773 100644 --- a/modules.c +++ b/modules.c @@ -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" diff --git a/plugins/omrelp/omrelp.c b/plugins/omrelp/omrelp.c index 673ef800..5f7a71f1 100644 --- a/plugins/omrelp/omrelp.c +++ b/plugins/omrelp/omrelp.c @@ -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)); -- cgit v1.2.3