Skip to content

Commit bacb0f3

Browse files
author
Marc Stern
committed
Revert "avoid useless loops"
This reverts commit 9977870.
1 parent a6d3397 commit bacb0f3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

apache2/re.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,6 @@ int msre_ruleset_rule_matches_exception(msre_rule *rule, rule_exception *re) {
575575
&my_error_msg);
576576
if (rc >= 0) {
577577
match = 1;
578-
break;
579578
}
580579
}
581580
}
@@ -2132,7 +2131,6 @@ static int msre_ruleset_phase_rule_remove_with_exception(msre_ruleset *ruleset,
21322131
&my_error_msg);
21332132
if (rc >= 0) {
21342133
remove_rule = 1;
2135-
break;
21362134
}
21372135
}
21382136
}

0 commit comments

Comments
 (0)