mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-20 19:16:40 +03:00
Cosmetic changes: applies changes suggested by static analysis
This commit is contained in:
@@ -47,9 +47,8 @@ namespace actions {
|
||||
|
||||
|
||||
bool Msg::evaluate(Rule *rule, Transaction *transaction) {
|
||||
std::string msg = MacroExpansion::expand(m_parser_payload, transaction);
|
||||
|
||||
#ifndef NO_LOGS
|
||||
std::string msg = MacroExpansion::expand(m_parser_payload, transaction);
|
||||
transaction->debug(9, "Saving msg: " + msg);
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user