mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-17 01:36:08 +03:00
Revert "avoid useless loops"
This reverts commit 9977870bc57e6cfe2a2bdfb64456abafeb1c5f2d.
This commit is contained in:
parent
a6d3397b51
commit
bacb0f3d76
@ -575,7 +575,6 @@ int msre_ruleset_rule_matches_exception(msre_rule *rule, rule_exception *re) {
|
|||||||
&my_error_msg);
|
&my_error_msg);
|
||||||
if (rc >= 0) {
|
if (rc >= 0) {
|
||||||
match = 1;
|
match = 1;
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -2132,7 +2131,6 @@ static int msre_ruleset_phase_rule_remove_with_exception(msre_ruleset *ruleset,
|
|||||||
&my_error_msg);
|
&my_error_msg);
|
||||||
if (rc >= 0) {
|
if (rc >= 0) {
|
||||||
remove_rule = 1;
|
remove_rule = 1;
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user