mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 03:34:29 +03:00
Merge 2.5.x changes into trunk.
This commit is contained in:
@@ -1049,7 +1049,7 @@ static const char *cmd_audit_log_dirmode(cmd_parms *cmd, void *_dcfg, const char
|
||||
return apr_psprintf(cmd->pool, "ModSecurity: Invalid value for SecAuditLogDirMode: %s", p1);
|
||||
}
|
||||
|
||||
dcfg->auditlog_dirperms = mode2fileperms((mode_t)mode);
|
||||
dcfg->auditlog_dirperms = mode2fileperms(mode);
|
||||
}
|
||||
|
||||
return NULL;
|
||||
@@ -1069,7 +1069,7 @@ static const char *cmd_audit_log_filemode(cmd_parms *cmd, void *_dcfg, const cha
|
||||
return apr_psprintf(cmd->pool, "ModSecurity: Invalid value for SecAuditLogFileMode: %s", p1);
|
||||
}
|
||||
|
||||
dcfg->auditlog_fileperms = mode2fileperms((mode_t)mode);
|
||||
dcfg->auditlog_fileperms = mode2fileperms(mode);
|
||||
}
|
||||
|
||||
return NULL;
|
||||
|
Reference in New Issue
Block a user