diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2013-09-02 15:11:58 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2013-09-02 15:11:58 +0200 |
commit | 9d945773a757ce87b587e5c6642f63e5626ca44c (patch) | |
tree | 8e8dd3c800ce48753da13d758304c47c4b313606 | |
parent | aac3d9aed8ff45b191b207f3e8c22bf602f54774 (diff) | |
download | rsyslog-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-- | ChangeLog | 3 | ||||
-rw-r--r-- | plugins/imfile/imfile.c | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -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; |