Skip to content

Commit 285f7ef

Browse files
author
Marc Stern
committed
avoid useless loops
1 parent 9977870 commit 285f7ef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apache2/re.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2132,6 +2132,7 @@ static int msre_ruleset_phase_rule_remove_with_exception(msre_ruleset *ruleset,
21322132
&my_error_msg);
21332133
if (rc >= 0) {
21342134
remove_rule = 1;
2135+
break;
21352136
}
21362137
}
21372138
}

0 commit comments

Comments
 (0)