diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-07-27 17:45:40 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-07-27 17:45:40 +0000 |
commit | 29ab35e4a32b8425804a89022a9a8dd36abd1f14 (patch) | |
tree | 753d20e39abe7f2f3792eb585d641076d34c2681 /omfile.c | |
parent | 853ae1a2c71a7912b4dd03e91355f240e1047b82 (diff) | |
download | rsyslog-29ab35e4a32b8425804a89022a9a8dd36abd1f14.tar.gz rsyslog-29ab35e4a32b8425804a89022a9a8dd36abd1f14.tar.xz rsyslog-29ab35e4a32b8425804a89022a9a8dd36abd1f14.zip |
removed selector_t f references from output modules
Diffstat (limited to 'omfile.c')
-rw-r--r-- | omfile.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -444,12 +444,11 @@ static int prepareDynFile(instanceData *pData, uchar *newFileName, unsigned iMsg * will be called for all outputs using file semantics, * for example also for pipes. */ -static rsRetVal writeFile(selector_t *f, uchar **ppString, unsigned iMsgOpts, instanceData *pData) +static rsRetVal writeFile(uchar **ppString, unsigned iMsgOpts, instanceData *pData) { off_t actualFileSize; rsRetVal iRet = RS_RET_OK; - assert(f != NULL); assert(pData != NULL); /* first check if we have a dynamic file name and, if so, @@ -575,7 +574,7 @@ CODESTARTdoAction * all others are doomed. */ if(pData->bDynamicName || (pData->fd != -1)) - iRet = writeFile(f, ppString, iMsgOpts, pData); + iRet = writeFile(ppString, iMsgOpts, pData); ENDdoAction |