This repository was archived by the owner on Jun 6, 2021. It is now read-only.
Commit 0846976
committed
masks.c: actually set last_matched on the proper mask(s)
Fixes only the last mask processed being updated (whether or not it
actually matched), instead updating all masks that do match (reported or
not).
We also no longer stop processing when handling an exempt mask since
otherwise we'd update last_matched for all *previous* matching masks,
which would be quite counterintuitive.1 parent 5c55fa3 commit 0846976
1 file changed
+2
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
| 224 | + | |
| 225 | + | |
224 | 226 | | |
225 | 227 | | |
226 | 228 | | |
| |||
236 | 238 | | |
237 | 239 | | |
238 | 240 | | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | 241 | | |
243 | 242 | | |
244 | | - | |
245 | | - | |
246 | 243 | | |
247 | 244 | | |
248 | 245 | | |
| |||
0 commit comments