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 /ommysql.c | |
parent | e123f620d3705263777c279ba319acf83eaf928d (diff) | |
download | rsyslog-9c20d0b4b4d3b85128d1754af3324866b135a412.tar.gz rsyslog-9c20d0b4b4d3b85128d1754af3324866b135a412.tar.xz rsyslog-9c20d0b4b4d3b85128d1754af3324866b135a412.zip |
added macro to consistently define iRet
Diffstat (limited to 'ommysql.c')
-rw-r--r-- | ommysql.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -235,7 +235,7 @@ rsRetVal checkDBErrorState(instanceData *pData) static rsRetVal initMySQL(instanceData *pData) { int iCounter = 0; - rsRetVal iRet = RS_RET_OK; + DEFiRet; assert(pData != NULL); if((iRet = checkDBErrorState(pData)) != RS_RET_OK) @@ -289,7 +289,7 @@ static rsRetVal reInitMySQL(instanceData *pData) rsRetVal writeMySQL(uchar *psz, instanceData *pData) { int iCounter=0; - rsRetVal iRet = RS_RET_OK; + DEFiRet; assert(pData != NULL); if((iRet = checkDBErrorState(pData)) != RS_RET_OK) |