summaryrefslogtreecommitdiffstats
path: root/modules.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-01-24 17:55:09 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-01-24 17:55:09 +0000
commit5c686c8adcc473cbdbb14e4b2d736f9123210ee6 (patch)
treeeb83fbca0d98ac4948b6d9ca22d8a0e4828815a9 /modules.c
parent76782c240db52c81825c907c40c31ca8b48218de (diff)
downloadrsyslog-5c686c8adcc473cbdbb14e4b2d736f9123210ee6.tar.gz
rsyslog-5c686c8adcc473cbdbb14e4b2d736f9123210ee6.tar.xz
rsyslog-5c686c8adcc473cbdbb14e4b2d736f9123210ee6.zip
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...
Diffstat (limited to 'modules.c')
-rw-r--r--modules.c12
1 files changed, 6 insertions, 6 deletions
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:
*/