summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2013-09-02 15:11:58 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2013-09-02 15:11:58 +0200
commit9d945773a757ce87b587e5c6642f63e5626ca44c (patch)
tree8e8dd3c800ce48753da13d758304c47c4b313606
parentaac3d9aed8ff45b191b207f3e8c22bf602f54774 (diff)
downloadrsyslog-9d945773a757ce87b587e5c6642f63e5626ca44c.tar.gz
rsyslog-9d945773a757ce87b587e5c6642f63e5626ca44c.tar.bz2
rsyslog-9d945773a757ce87b587e5c6642f63e5626ca44c.zip
bugfix: imfile parameter "persistStateInterval" was unusable
due to a case typo in imfile; work-around was to use legacy config Thanks to Brandon Murphy for reporting this bug.
-rw-r--r--ChangeLog3
-rw-r--r--plugins/imfile/imfile.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f07bd5dc..b0708a88 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,9 @@
Version 7.4.4 [v7.4-stable] 2013-0?-??
- better error messages in GuardTime signature provider
Thanks to Ahto Truu for providing the patch.
+- bugfix: imfile parameter "persistStateInterval" was unusable
+ due to a case typo in imfile; work-around was to use legacy config
+ Thanks to Brandon Murphy for reporting this bug.
- bugfix: TLV16 flag encoding error in signature files from GT provider
This fixes a problem where the TLV16 flag was improperly encoded.
Unfortunately, existing files already have the bug and may not properly
diff --git a/plugins/imfile/imfile.c b/plugins/imfile/imfile.c
index 2e80ffc8..45882fb2 100644
--- a/plugins/imfile/imfile.c
+++ b/plugins/imfile/imfile.c
@@ -478,7 +478,7 @@ CODESTARTnewInpInst
inst->readMode = pvals[i].val.d.n;
} else if(!strcmp(inppblk.descr[i].name, "maxlinesatonce")) {
inst->maxLinesAtOnce = pvals[i].val.d.n;
- } else if(!strcmp(inppblk.descr[i].name, "persistStateInterval")) {
+ } else if(!strcmp(inppblk.descr[i].name, "persiststateinterval")) {
inst->iPersistStateInterval = pvals[i].val.d.n;
} else if(!strcmp(inppblk.descr[i].name, "maxsubmitatonce")) {
inst->nMultiSub = pvals[i].val.d.n;