summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-01-30 10:02:33 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-01-30 10:02:33 +0000
commit91b5178c124417b419854cae35204b6742605af5 (patch)
treed05f0ecf85b276870e36b1d0216eaca322571460
parent09a99b4d971607269525e56f1680d0ae6a0ea137 (diff)
downloadrsyslog-91b5178c124417b419854cae35204b6742605af5.tar.gz
rsyslog-91b5178c124417b419854cae35204b6742605af5.tar.xz
rsyslog-91b5178c124417b419854cae35204b6742605af5.zip
fixed bug in output module interface, see
http://sourceforge.net/tracker/index.php?func=detail&aid=1881008&group_ id=123448&atid=696552
-rw-r--r--ChangeLog6
-rw-r--r--module-template.h5
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 \