summaryrefslogtreecommitdiffstats
path: root/runtime/modules.c
diff options
context:
space:
mode:
authorvarmojfekoj <theinric@redhat.com>2010-02-04 16:02:57 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2010-02-04 16:02:57 +0100
commit8c3ab2e26f1bae46ff34fc1d0a10a69c4db78127 (patch)
treefde5f05035166bb859f9be7319f70788b4edb8ef /runtime/modules.c
parent7d098f14cba4f31dec7d92136183ebd0ccf7e1d0 (diff)
downloadrsyslog-8c3ab2e26f1bae46ff34fc1d0a10a69c4db78127.tar.gz
rsyslog-8c3ab2e26f1bae46ff34fc1d0a10a69c4db78127.tar.bz2
rsyslog-8c3ab2e26f1bae46ff34fc1d0a10a69c4db78127.zip
bugfix: several smaller bugs resolved after flexelint review
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
Diffstat (limited to 'runtime/modules.c')
-rw-r--r--runtime/modules.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/modules.c b/runtime/modules.c
index 32ae659f..90802c96 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