From 91b5178c124417b419854cae35204b6742605af5 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Wed, 30 Jan 2008 10:02:33 +0000 Subject: fixed bug in output module interface, see http://sourceforge.net/tracker/index.php?func=detail&aid=1881008&group_ id=123448&atid=696552 --- ChangeLog | 6 ++++++ module-template.h | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index e56d7b88..f5569f31 100644 --- a/ChangeLog +++ b/ChangeLog @@ -19,6 +19,12 @@ Version 3.11.0 (rgerhards), 2008-01-?? - added $ActionQueueSaveonShutdown config directive - bugfix: added forgotten docs to package - improved debugging support +- fixed a bug that caused $MainMsgQueueCheckpointInterval to work incorrectly +- when a long-running action needs to be cancelled on shutdown, the message + that was processed by it is now preserved. This finishes support for + guaranteed delivery of messages (if the output supports it, of course) +- fixed bug in output module interface, see + http://sourceforge.net/tracker/index.php?func=detail&aid=1881008&group_id=123448&atid=696552 --------------------------------------------------------------------------- Version 3.10.3 (rgerhards), 2008-01-28 - fixed a bug with standard template definitions (not a big deal) - thanks diff --git a/module-template.h b/module-template.h index c92ec25a..7ac5a3e5 100644 --- a/module-template.h +++ b/module-template.h @@ -243,8 +243,9 @@ finalize_it:\ OMSRdestruct(*ppOMSR);\ *ppOMSR = NULL;\ }\ - if(pData != NULL)\ - freeInstance(&pData);\ + if(pData != NULL) {\ + freeInstance(pData);\ + } \ } #define ENDparseSelectorAct \ -- cgit v1.2.3