mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-13 13:26:01 +03:00
Removed unused suppresion and avoid copy of logPath
This commit is contained in:
parent
4aad8e0d06
commit
7a9c0ab15f
@ -118,7 +118,7 @@ bool Parallel::write(Transaction *transaction, int parts, std::string *error) {
|
||||
log = transaction->toOldAuditLogFormat(parts, "-" + boundary + "--");
|
||||
}
|
||||
|
||||
std::string logPath = m_audit->m_storage_dir;
|
||||
const auto &logPath = m_audit->m_storage_dir;
|
||||
fileName = logPath + fileName + "-" + *transaction->m_id.get();
|
||||
|
||||
if (logPath.empty()) {
|
||||
|
@ -33,7 +33,6 @@ shiftNegative:src/utils/msc_tree.cc
|
||||
useInitializationList:src/utils/shared_files.h:87
|
||||
duplicateBranch:src/audit_log/audit_log.cc:226
|
||||
unreadVariable:src/request_body_processor/multipart.cc:435
|
||||
stlcstrParam:src/audit_log/writer/parallel.cc:145
|
||||
syntaxError:src/transaction.cc:62
|
||||
noConstructor:src/variables/variable.h:152
|
||||
rethrowNoCurrentException:headers/modsecurity/transaction.h:313
|
||||
|
Loading…
x
Reference in New Issue
Block a user