mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 03:34:29 +03:00
fixed compilation error with disable_debug_log flag
This commit is contained in:
committed by
Felipe Zimmerle
parent
81e1cdced3
commit
e9f3312ea9
@@ -24,7 +24,9 @@ bool RuleScript::init(std::string *err) {
|
||||
|
||||
bool RuleScript::evaluate(Transaction *trans,
|
||||
std::shared_ptr<RuleMessage> ruleMessage) {
|
||||
#ifndef NO_LOGS
|
||||
trans->debug(4, " Executing script: " + m_name + ".");
|
||||
#endif
|
||||
bool containsDisruptive = false;
|
||||
|
||||
if (ruleMessage == NULL) {
|
||||
|
Reference in New Issue
Block a user