summaryrefslogtreecommitdiffstats
path: root/ommysql.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 /ommysql.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 'ommysql.c')
-rw-r--r--ommysql.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ommysql.c b/ommysql.c
index d5c327c1..d786780b 100644
--- a/ommysql.c
+++ b/ommysql.c
@@ -286,11 +286,10 @@ static rsRetVal reInitMySQL(instanceData *pData)
* to an established MySQL session.
* Initially added 2004-10-28 mmeckelein
*/
-rsRetVal writeMySQL(register selector_t *f, uchar *psz, instanceData *pData)
+rsRetVal writeMySQL(uchar *psz, instanceData *pData)
{
int iCounter=0;
rsRetVal iRet = RS_RET_OK;
- assert(f != NULL);
assert(pData != NULL);
if((iRet = checkDBErrorState(pData)) != RS_RET_OK)
@@ -321,7 +320,7 @@ rsRetVal writeMySQL(register selector_t *f, uchar *psz, instanceData *pData)
BEGINdoAction
CODESTARTdoAction
dprintf("\n");
- iRet = writeMySQL(f, ppString[0], pData);
+ iRet = writeMySQL(ppString[0], pData);
ENDdoAction