From 33a8ec9855b7e7674ab2b1a6e4814b08652296de Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Tue, 29 Jan 2008 09:13:59 +0000 Subject: - moved correct retry logic into action processing queue - removed debugging support from sync class, debug class now provides much more --- syslogd.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'syslogd.c') diff --git a/syslogd.c b/syslogd.c index f5d9adb7..a1e89530 100644 --- a/syslogd.c +++ b/syslogd.c @@ -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 */ } -- cgit v1.2.3