summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-10-05 12:41:10 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-10-05 12:41:10 +0200
commit2f35a69a59ec08fc00b50b6e75827bc934cfeb09 (patch)
tree5621345ae56ce3dfb37baf5a88bc0eec67eae3c6 /runtime
parent4c8546fd6fb56d5439edb5a098c8f82bc8fc36aa (diff)
parent0d7521d59167e47dd5c085d34edf3cd06e45cfc1 (diff)
downloadrsyslog-2f35a69a59ec08fc00b50b6e75827bc934cfeb09.tar.gz
rsyslog-2f35a69a59ec08fc00b50b6e75827bc934cfeb09.tar.xz
rsyslog-2f35a69a59ec08fc00b50b6e75827bc934cfeb09.zip
Merge branch 'aaron' into v4-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 bd201252..871f356a 100644
--- a/runtime/modules.c
+++ b/runtime/modules.c
@@ -383,7 +383,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