summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-03-27 11:24:11 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-03-27 11:24:11 +0000
commit28bc2f061bbcd266066824dcc25cfdaf634fb474 (patch)
tree9b6c25a3810886c218409ad80b234c7ceee591de
parent5455d972d8aaf468f8f322336edfa0b1d1901cd9 (diff)
downloadrsyslog-28bc2f061bbcd266066824dcc25cfdaf634fb474.tar.gz
rsyslog-28bc2f061bbcd266066824dcc25cfdaf634fb474.tar.xz
rsyslog-28bc2f061bbcd266066824dcc25cfdaf634fb474.zip
made relp modules use new relpengine-provided feature selection functions
-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));