Skip to content

Commit 9977870

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

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
@@ -575,6 +575,7 @@ 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;
578579
}
579580
}
580581
}

0 commit comments

Comments
 (0)