mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 19:47:47 +03:00
Minor fix in the decision on whenever the log callback should be called
This commit is contained in:
@@ -100,8 +100,7 @@ std::string RuleMessage::errorLog(const RuleMessage *rm) {
|
||||
}
|
||||
|
||||
std::string RuleMessage::log(const RuleMessage *rm) {
|
||||
std::string msg;
|
||||
|
||||
std::string msg("");
|
||||
if (rm->m_isDisruptive) {
|
||||
msg.append(disruptiveErrorLog(rm));
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user