diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-07-31 08:15:40 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-07-31 08:15:40 +0000 |
commit | 9c20d0b4b4d3b85128d1754af3324866b135a412 (patch) | |
tree | 2a851c42a1147844efe56691e9d33116b9c856f3 /syslogd.c | |
parent | e123f620d3705263777c279ba319acf83eaf928d (diff) | |
download | rsyslog-9c20d0b4b4d3b85128d1754af3324866b135a412.tar.gz rsyslog-9c20d0b4b4d3b85128d1754af3324866b135a412.tar.bz2 rsyslog-9c20d0b4b4d3b85128d1754af3324866b135a412.zip |
added macro to consistently define iRet
Diffstat (limited to 'syslogd.c')
-rw-r--r-- | syslogd.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -763,7 +763,7 @@ static void clearAllowedSenders (struct AllowedSenders *pAllow) { static rsRetVal AddAllowedSender(struct AllowedSenders **ppRoot, struct AllowedSenders **ppLast, struct NetAddr *iAllow, uint8_t iSignificantBits) { - rsRetVal iRet = RS_RET_OK; + DEFiRet; assert(ppRoot != NULL); assert(ppLast != NULL); @@ -3058,7 +3058,7 @@ rsRetVal fprintlog(register selector_t *f) msg_t *pMsgSave; /* to save current message pointer, necessary to restore it in case it needs to be updated (e.g. repeated msgs) */ pMsgSave = NULL; /* indicate message poiner not saved */ - rsRetVal iRet = RS_RET_OK; + DEFiRet; int i; /* first check if this is a regular message or the repeation of @@ -4040,7 +4040,7 @@ rsRetVal cflineParseTemplateName(uchar** pp, omodStringRequest_t *pOMSR, int iEn { uchar *p; uchar *tplName; - rsRetVal iRet = RS_RET_OK; + DEFiRet; rsCStrObj *pStrB; assert(pp != NULL); @@ -4105,7 +4105,7 @@ rsRetVal cflineParseFileName(uchar* p, uchar *pFileName, omodStringRequest_t *pO { register uchar *pName; int i; - rsRetVal iRet = RS_RET_OK; + DEFiRet; assert(pOMSR != NULL); @@ -4490,7 +4490,7 @@ static rsRetVal cflineProcessTagSelector(uchar **pline) */ rsRetVal addAction(selector_t *f, modInfo_t *pMod, void *pModData, omodStringRequest_t *pOMSR) { - rsRetVal iRet = RS_RET_OK; + DEFiRet; int i; int iTplOpts; uchar *pTplName; |