summaryrefslogtreecommitdiffstats
path: root/plugins/mmjsonparse/mmjsonparse.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-10-09 15:24:04 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2012-10-09 15:24:04 +0200
commit431932d8d63a0f85694c1ec5ec43435a048ffff7 (patch)
treedfdbc3c6df8d48cab801d2eeb89ff2cea73ab6bf /plugins/mmjsonparse/mmjsonparse.c
parentf4f55b6b9d0026d9303978897a8af9c4b72a88bb (diff)
downloadrsyslog-431932d8d63a0f85694c1ec5ec43435a048ffff7.tar.gz
rsyslog-431932d8d63a0f85694c1ec5ec43435a048ffff7.tar.bz2
rsyslog-431932d8d63a0f85694c1ec5ec43435a048ffff7.zip
bugfix: in (non)equal comparisons the position of arrays influenced result
This behaviour is OK for "contains"-type of comparisons (which have quite different semantics), but not for == and <>, which shall be commutative. This has been fixed now, so there is no difference any longer if the constant string array is the left or right hand operand. We solved this via the optimizer, as it keeps the actual script execution code small.
Diffstat (limited to 'plugins/mmjsonparse/mmjsonparse.c')
0 files changed, 0 insertions, 0 deletions