diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-07-26 12:07:23 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-07-26 12:07:23 +0000 |
commit | 54669873b0469aa69a4c9f88bcf88470218082f8 (patch) | |
tree | 1042b7096d3332dc92abbb8c4ee9fdc0af1f7e55 /ommysql.c | |
parent | 1904ce3f5aa11f190c881ccda650c1f464fe9271 (diff) | |
download | rsyslog-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.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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) */ |