diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2013-03-20 11:03:41 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2013-03-20 11:03:41 +0100 |
commit | 5b76d639659fe5582b425b903fa8f5e14624a8e4 (patch) | |
tree | 45692a4262ed7d0d834f81dc9c0df561bd0b45d2 | |
parent | 1e9bd23d659bda3036895e5fa02f0ea14fcbc1eb (diff) | |
download | rsyslog-5b76d639659fe5582b425b903fa8f5e14624a8e4.tar.gz rsyslog-5b76d639659fe5582b425b903fa8f5e14624a8e4.tar.bz2 rsyslog-5b76d639659fe5582b425b903fa8f5e14624a8e4.zip |
bugfix: $mmnormalizeuseramsg paramter was specified with wrong type
Thanks to Renzhong Zhang for alerting us of the problem.
closes: http://bugzilla.adiscon.com/show_bug.cgi?id=420
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | plugins/mmnormalize/mmnormalize.c | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -10,6 +10,9 @@ Version 7.2.7 [v7-stable] 2013-03-?? - improved debugging support in forked (auto-backgrounding) mode The rsyslog debug log file is now continued to be written across the fork. +- bugfix: $mmnormalizeuseramsg paramter was specified with wrong type + Thank to Renzhong Zhang for alerting us of the problem. + closes: http://bugzilla.adiscon.com/show_bug.cgi?id=420 - bugfix: RainerScript getenv() function caused segfault when var was not found. Thanks to Philippe Muller for the patch. diff --git a/plugins/mmnormalize/mmnormalize.c b/plugins/mmnormalize/mmnormalize.c index d3fba39b..c366d5fe 100644 --- a/plugins/mmnormalize/mmnormalize.c +++ b/plugins/mmnormalize/mmnormalize.c @@ -281,7 +281,7 @@ CODEmodInit_QueryRegCFSLineHdlr CHKiRet(omsdRegCFSLineHdlr((uchar *)"mmnormalizerulebase", 0, eCmdHdlrGetWord, setRuleBase, NULL, STD_LOADABLE_MODULE_ID)); - CHKiRet(omsdRegCFSLineHdlr((uchar *)"mmnormalizeuserawmsg", 0, eCmdHdlrInt, + CHKiRet(omsdRegCFSLineHdlr((uchar *)"mmnormalizeuserawmsg", 0, eCmdHdlrBinary, NULL, &cs.bUseRawMsg, STD_LOADABLE_MODULE_ID)); CHKiRet(omsdRegCFSLineHdlr((uchar *)"resetconfigvariables", 1, eCmdHdlrCustomHandler, resetConfigVariables, NULL, STD_LOADABLE_MODULE_ID)); |