From 8dd9959735014aab70a65a9e8832cd1818ba210d Mon Sep 17 00:00:00 2001 From: Tomas Heinrich Date: Thu, 13 Oct 2011 10:43:59 +0200 Subject: bugfix: $ActionExecOnlyOnce interval did not work properly Signed-off-by: Rainer Gerhards --- ChangeLog | 2 ++ action.c | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 78c9217b..b28bfbee 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ --------------------------------------------------------------------------- Version 4.8.1 [v4-beta], 2011-09-?? +- bugfix: $ActionExecOnlyOnce interval did not work properly + Thanks to Tomas Heinrich for the patch - bugfix: potential abort if ultra-large file io buffers are used and dynafile cache exhausts address space (primarily a problem on 32 bit platforms) diff --git a/action.c b/action.c index 5451ef13..119bb3ba 100644 --- a/action.c +++ b/action.c @@ -716,7 +716,6 @@ actionWriteToAction(action_t *pAction) DBGPRINTF("action not yet ready again to be executed, onceInterval %d, tCurr %d, tNext %d\n", (int) pAction->iSecsExecOnceInterval, (int) getActNow(pAction), (int) (pAction->iSecsExecOnceInterval + pAction->tLastExec)); - pAction->tLastExec = getActNow(pAction); /* re-init time flags */ FINALIZE; } -- cgit v1.2.3