summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomas Heinrich <theinric@redhat.com>2011-10-13 10:43:59 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2011-10-13 10:43:59 +0200
commit8dd9959735014aab70a65a9e8832cd1818ba210d (patch)
tree1b4824cd1d523aa20a0dcca310f6af7738c4e9cb
parent086db18cc304c9aff082e8ee4adfdadeacfa5c39 (diff)
downloadrsyslog-8dd9959735014aab70a65a9e8832cd1818ba210d.tar.gz
rsyslog-8dd9959735014aab70a65a9e8832cd1818ba210d.tar.xz
rsyslog-8dd9959735014aab70a65a9e8832cd1818ba210d.zip
bugfix: $ActionExecOnlyOnce interval did not work properly
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
-rw-r--r--ChangeLog2
-rw-r--r--action.c1
2 files changed, 2 insertions, 1 deletions
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;
}