mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 19:47:47 +03:00
Merge pull request #3116 from gberkes/v3/remove_this_conditional_structure
Deleted redundant code in 'ModSecurity::serverLog(...)'.
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user