mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 03:34:29 +03:00
Makes m_id a shared pointer
This commit is contained in:
@@ -119,7 +119,7 @@ bool Parallel::write(Transaction *transaction, int parts, std::string *error) {
|
||||
}
|
||||
|
||||
std::string logPath = m_audit->m_storage_dir;
|
||||
fileName = logPath + fileName + "-" + transaction->m_id;
|
||||
fileName = logPath + fileName + "-" + *transaction->m_id.get();
|
||||
|
||||
if (logPath.empty()) {
|
||||
error->assign("Log path is not valid.");
|
||||
|
Reference in New Issue
Block a user