Minor code cleanup.

This commit is contained in:
ivanr
2008-06-05 14:00:28 +00:00
parent 81d98de283
commit b2119411dd

View File

@@ -1616,7 +1616,7 @@ static void msre_perform_disruptive_actions(modsec_rec *msr, msre_rule *rule,
} }
} }
/* If "noauditlog" used do not mark the transaction relevant. */ /* If "noauditlog" was used do not mark the transaction relevant. */
if (actionset->auditlog != 0) { if (actionset->auditlog != 0) {
msr->is_relevant++; msr->is_relevant++;
} }
@@ -1641,6 +1641,7 @@ static void msre_perform_disruptive_actions(modsec_rec *msr, msre_rule *rule,
if (log_level <= 3) { if (log_level <= 3) {
msr->is_relevant--; msr->is_relevant--;
} }
return; return;
} }