diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-01-29 09:13:59 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-01-29 09:13:59 +0000 |
commit | 33a8ec9855b7e7674ab2b1a6e4814b08652296de (patch) | |
tree | bb15bd7523a4b95075b7d2d5b92b42b844d5e562 /syslogd.c | |
parent | 8b73362a4a88aaa3642db398d17e65eab871d9ed (diff) | |
download | rsyslog-33a8ec9855b7e7674ab2b1a6e4814b08652296de.tar.gz rsyslog-33a8ec9855b7e7674ab2b1a6e4814b08652296de.tar.bz2 rsyslog-33a8ec9855b7e7674ab2b1a6e4814b08652296de.zip |
- moved correct retry logic into action processing queue
- removed debugging support from sync class, debug class now provides much
more
Diffstat (limited to 'syslogd.c')
-rw-r--r-- | syslogd.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2259,6 +2259,7 @@ DEFFUNC_llExecFunc(flushRptdMsgsActions) assert(pAction != NULL); + BEGINfunc LockObj(pAction); if (pAction->f_prevcount && time(NULL) >= REPEATTIME(pAction)) { dbgprintf("flush %s: repeated %d times, %d sec.\n", @@ -2269,6 +2270,7 @@ DEFFUNC_llExecFunc(flushRptdMsgsActions) } UnlockObj(pAction); + ENDfunc return RS_RET_OK; /* we ignore errors, we can not do anything either way */ } |