Skip to content

Commit 9675653

Browse files
committed
Code cosmetics: Minor change to match commit 2a42cc
1 parent aab128f commit 9675653

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apache2/re.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1781,7 +1781,7 @@ static apr_status_t msre_ruleset_process_phase_(msre_ruleset *ruleset, modsec_re
17811781
}
17821782

17831783
if (rc == RULE_NO_MATCH) {
1784-
if (rule->actionset && rule->actionset->is_chained) {
1784+
if (rule->actionset->is_chained) {
17851785
/* If the current rule is part of a chain then
17861786
* we need to skip over all the rules in the chain.
17871787
*/
@@ -1905,7 +1905,7 @@ static apr_status_t msre_ruleset_process_phase_(msre_ruleset *ruleset, modsec_re
19051905
apr_table_clear(msr->matched_vars);
19061906
return -1;
19071907
} else {
1908-
if (rule->actionset->is_chained) {
1908+
if (rule->actionset && rule->actionset->is_chained) {
19091909
/* If the current rule is part of a chain then
19101910
* we need to skip over all the rules in the chain.
19111911
*/

0 commit comments

Comments
 (0)