summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-10-05 13:33:46 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-10-05 13:33:46 +0200
commit54c375eb5b28d70fca023f7ca2fcc2cd0a4fa7ba (patch)
tree04b6c14abf3c4538954d423310d0edde5771699f /runtime
parentf7f7d951fcbaa0f30b43c651dae36bcf31c91e78 (diff)
parent2f35a69a59ec08fc00b50b6e75827bc934cfeb09 (diff)
downloadrsyslog-54c375eb5b28d70fca023f7ca2fcc2cd0a4fa7ba.tar.gz
rsyslog-54c375eb5b28d70fca023f7ca2fcc2cd0a4fa7ba.tar.xz
rsyslog-54c375eb5b28d70fca023f7ca2fcc2cd0a4fa7ba.zip
Merge branch 'v4-beta' into beta
Diffstat (limited to 'runtime')
-rw-r--r--runtime/modules.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/modules.c b/runtime/modules.c
index eee3b46e..bdb15e7f 100644
--- a/runtime/modules.c
+++ b/runtime/modules.c
@@ -425,7 +425,7 @@ doModInit(rsRetVal (*modInit)(int, int*, rsRetVal(**)(), rsRetVal(*)(), modInfo_
* can never change in the lifetime of an module. -- rgerhards, 2007-12-14
*/
CHKiRet((*pNew->modQueryEtryPt)((uchar*)"getType", &modGetType));
- CHKiRet((iRet = (*modGetType)(&pNew->eType)) != RS_RET_OK);
+ CHKiRet((*modGetType)(&pNew->eType));
dbgprintf("module of type %d being loaded.\n", pNew->eType);
/* OK, we know we can successfully work with the module. So we now fill the