]> git.proxmox.com Git - pmg-log-tracker.git/commit
change case sensitive string match to case insensitive
authorMira Limbeck <m.limbeck@proxmox.com>
Mon, 9 Nov 2020 14:18:46 +0000 (15:18 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 17 Nov 2020 07:18:21 +0000 (08:18 +0100)
commitc409629f802bc0c944d5d9b0bad523174a74eb58
tree1fa0b99a63c5a51dac1b94287b5ed3d27f9eb433
parent5c363ec8154f2da4abf5720ea15cc07623631d71
change case sensitive string match to case insensitive

With the rewrite from C to Rust the search string match was changed to
be case sensitive by accident. Fix this by comparing the lowercase values
of both the input and the search string.

Signed-off-by: Mira Limbeck <m.limbeck@proxmox.com>
Reviewed-By: Stoiko Ivanov <s.ivanov@proxmox.com>
Tested-By: Stoiko Ivanov <s.ivanov@proxmox.com>
src/main.rs
tests/tests_after_queue.rs
tests/tests_before_queue.rs