From 29ab35e4a32b8425804a89022a9a8dd36abd1f14 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Fri, 27 Jul 2007 17:45:40 +0000 Subject: removed selector_t f references from output modules --- omfile.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'omfile.c') 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 -- cgit