summaryrefslogtreecommitdiffstats
path: root/omfile.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-07-27 17:45:40 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-07-27 17:45:40 +0000
commit29ab35e4a32b8425804a89022a9a8dd36abd1f14 (patch)
tree753d20e39abe7f2f3792eb585d641076d34c2681 /omfile.c
parent853ae1a2c71a7912b4dd03e91355f240e1047b82 (diff)
downloadrsyslog-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.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/omfile.c b/omfile.c
index 13e436bf..0f75f4a6 100644
--- a/omfile.c
+++ b/omfile.c
@@ -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