From 5c686c8adcc473cbdbb14e4b2d736f9123210ee6 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Thu, 24 Jan 2008 17:55:09 +0000 Subject: redesigned queue to utilize helper classes for threading support. This is finally in a running state for regular (non disk-assisted) queues, with a minor nit at shutdown. So I can finally commit the work again to CVS... --- modules.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'modules.c') diff --git a/modules.c b/modules.c index b8fc54ef..5c252dd3 100644 --- a/modules.c +++ b/modules.c @@ -1,6 +1,6 @@ /* modules.c * This is the implementation of syslogd modules object. - * This object handles plug-ins and buil-in modules of all kind. + * This object handles plug-ins and build-in modules of all kind. * * File begun on 2007-07-22 by RGerhards * @@ -99,7 +99,7 @@ rsRetVal queryHostEtryPt(uchar *name, rsRetVal (**pEtryPoint)()) if(iRet == RS_RET_OK) iRet = (*pEtryPoint == NULL) ? RS_RET_NOT_FOUND : RS_RET_OK; - return iRet; + RETiRet; } @@ -204,7 +204,7 @@ static rsRetVal modPrepareUnload(modInfo_t *pThis) /* END DEVEL */ finalize_it: - return iRet; + RETiRet; } @@ -288,7 +288,7 @@ finalize_it: moduleDestruct(pNew); } - return iRet; + RETiRet; } /* Print loaded modules. This is more or less a @@ -348,7 +348,7 @@ rsRetVal modUnloadAndDestructAll(void) moduleDestruct(pModPrev); } - return iRet; + RETiRet; } @@ -374,7 +374,7 @@ rsRetVal modUnloadAndDestructDynamic(void) } } - return iRet; + RETiRet; } /* vi:set ai: */ -- cgit