mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-10-09 15:52:53 +03:00
Minor code cleanup.
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user