summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules.c2
-rw-r--r--plugins/omrelp/omrelp.c1
2 files changed, 2 insertions, 1 deletions
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));