]> git.proxmox.com Git - pmg-log-tracker.git/commit
fix from entries being shown even with a from filter
authorMira Limbeck <m.limbeck@proxmox.com>
Fri, 24 Apr 2020 15:21:49 +0000 (17:21 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 24 Apr 2020 15:56:16 +0000 (17:56 +0200)
commitbf16debe3f227417ba7e63d31f617cc54fe397de
tree11c54608a3c53f0143a0da721b43ae4a6dd8ad36
parenta27c3b076bac5785cf895c980d618648bb7d1f6f
fix from entries being shown even with a from filter

When a 'from' and 'to' filter were set, we used a 'from || to' test to
see if we should print it or not. This patch changes this to a 'from &&
to' test. This gets rid of entries from unrelated senders ('from') when
a 'from filter did not match but the 'to' filter matched.

Signed-off-by: Mira Limbeck <m.limbeck@proxmox.com>
src/main.rs