summaryrefslogtreecommitdiffstats
path: root/modules.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-12-14 17:15:35 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-12-14 17:15:35 +0000
commit3a209d530568ddfb448d3b55e506022245e394b4 (patch)
tree9a9e00ae93679d57223a54554e337aefb6f6cd2e /modules.c
parent6c0c26dc96544aa5814d00045b3d559c99fc1b2e (diff)
downloadrsyslog-3a209d530568ddfb448d3b55e506022245e394b4.tar.gz
rsyslog-3a209d530568ddfb448d3b55e506022245e394b4.tar.xz
rsyslog-3a209d530568ddfb448d3b55e506022245e394b4.zip
added thread activation
Diffstat (limited to 'modules.c')
-rw-r--r--modules.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules.c b/modules.c
index 6869ede6..9a3786f2 100644
--- a/modules.c
+++ b/modules.c
@@ -255,6 +255,7 @@ rsRetVal doModInit(rsRetVal (*modInit)(int, int*, rsRetVal(**)(), rsRetVal(*)())
/* ... and now the module-specific interfaces */
switch(pNew->eType) {
case eMOD_IN:
+ CHKiRet((*pNew->modQueryEtryPt)((uchar*)"runInput", &pNew->mod.im.runInput));
break;
case eMOD_OUT:
CHKiRet((*pNew->modQueryEtryPt)((uchar*)"doAction", &pNew->mod.om.doAction));
@@ -293,6 +294,7 @@ finalize_it:
/* Print loaded modules. This is more or less a
* debug or test aid, but anyhow I think it's worth it...
* This only works if the dbgprintf() subsystem is initialized.
+ * TODO: update for new input modules!
*/
void modPrintList(void)
{