summaryrefslogtreecommitdiffstats
path: root/ommysql.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-07-26 12:07:23 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-07-26 12:07:23 +0000
commit54669873b0469aa69a4c9f88bcf88470218082f8 (patch)
tree1042b7096d3332dc92abbb8c4ee9fdc0af1f7e55 /ommysql.c
parent1904ce3f5aa11f190c881ccda650c1f464fe9271 (diff)
downloadrsyslog-54669873b0469aa69a4c9f88bcf88470218082f8.tar.gz
rsyslog-54669873b0469aa69a4c9f88bcf88470218082f8.tar.xz
rsyslog-54669873b0469aa69a4c9f88bcf88470218082f8.zip
- implemented needUDPSocket() interface
- replaced (mis) use of f_prevcount in omfwd.c -> now data element in instance data is used for retry counting - removed f->f_type from syslogd.c, omfwd.c - removed f->f_file from omfwd.c, omfile.c - f->f_flags is gone away
Diffstat (limited to 'ommysql.c')
-rw-r--r--ommysql.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/ommysql.c b/ommysql.c
index 0dac4b77..b23c4a39 100644
--- a/ommysql.c
+++ b/ommysql.c
@@ -95,6 +95,11 @@ CODESTARTfreeInstance
ENDfreeInstance
+BEGINneedUDPSocket
+CODESTARTneedUDPSocket
+ENDneedUDPSocket
+
+
BEGINdbgPrintInstInfo
CODESTARTdbgPrintInstInfo
/* nothing special here */
@@ -182,7 +187,7 @@ rsRetVal checkDBErrorState(instanceData *pData)
{
time_t now;
assert(pData != NULL);
- /* dprintf("in checkDBErrorState, timeResumeOnError: %d\n", f->f_timeResumeOnError); */
+ /* dprintf("in checkDBErrorState, timeResumeOnError: %d\n", pData->f_timeResumeOnError); */
/* If timeResumeOnError == 0 no error occured,
we can return with 0 (no error) */