Code cosmetics: Minor change to match commit 2a42cc

This commit is contained in:
Victor Hora 2018-09-22 20:40:30 -04:00
parent aab128f810
commit 96756533ba

View File

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