mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
avoid useless loops
This commit is contained in:
@@ -2132,6 +2132,7 @@ 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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user