summaryrefslogtreecommitdiffstats
path: root/omfile.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-07-31 08:15:40 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-07-31 08:15:40 +0000
commit9c20d0b4b4d3b85128d1754af3324866b135a412 (patch)
tree2a851c42a1147844efe56691e9d33116b9c856f3 /omfile.c
parente123f620d3705263777c279ba319acf83eaf928d (diff)
downloadrsyslog-9c20d0b4b4d3b85128d1754af3324866b135a412.tar.gz
rsyslog-9c20d0b4b4d3b85128d1754af3324866b135a412.tar.xz
rsyslog-9c20d0b4b4d3b85128d1754af3324866b135a412.zip
added macro to consistently define iRet
Diffstat (limited to 'omfile.c')
-rw-r--r--omfile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/omfile.c b/omfile.c
index 0f75f4a6..618e9b98 100644
--- a/omfile.c
+++ b/omfile.c
@@ -127,7 +127,7 @@ ENDdbgPrintInstInfo
*/
static rsRetVal cflineParseOutchannel(instanceData *pData, uchar* p, omodStringRequest_t *pOMSR, int iEntry, int iTplOpts)
{
- rsRetVal iRet = RS_RET_OK;
+ DEFiRet;
size_t i;
struct outchannel *pOch;
char szBuf[128]; /* should be more than sufficient */
@@ -447,7 +447,7 @@ static int prepareDynFile(instanceData *pData, uchar *newFileName, unsigned iMsg
static rsRetVal writeFile(uchar **ppString, unsigned iMsgOpts, instanceData *pData)
{
off_t actualFileSize;
- rsRetVal iRet = RS_RET_OK;
+ DEFiRet;
assert(pData != NULL);