summaryrefslogtreecommitdiffstats
path: root/syslogd.c
diff options
context:
space:
mode:
Diffstat (limited to 'syslogd.c')
-rw-r--r--syslogd.c2
1 files changed, 2 insertions, 0 deletions
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 */
}