mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-15 23:55:03 +03:00
Deleted redundant code in 'ModSecurity::serverLog(...)'.
This commit is contained in:
parent
625f9a5300
commit
5802626437
@ -210,10 +210,6 @@ void ModSecurity::serverLog(void *data, std::shared_ptr<RuleMessage> rm) {
|
|||||||
|
|
||||||
if (m_logProperties & RuleMessageLogProperty) {
|
if (m_logProperties & RuleMessageLogProperty) {
|
||||||
const void *a = static_cast<const void *>(rm.get());
|
const void *a = static_cast<const void *>(rm.get());
|
||||||
if (m_logProperties & IncludeFullHighlightLogProperty) {
|
|
||||||
m_logCb(data, a);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
m_logCb(data, a);
|
m_logCb(data, a);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user