mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 13:56:01 +03:00
Fix build error if -Werror=format-security is presented
This commit is contained in:
parent
b5179a110a
commit
cddd9a7eb5
@ -472,8 +472,8 @@ char *update_rule_target_ex(modsec_rec *msr, msre_ruleset *ruleset, msre_rule *r
|
||||
|
||||
end:
|
||||
if (my_error_msg) {
|
||||
if (msr) msr_log(msr, 9, my_error_msg);
|
||||
else ap_log_error(APLOG_MARK, APLOG_INFO, 0, NULL, my_error_msg);
|
||||
if (msr) msr_log(msr, 9, "%s", my_error_msg);
|
||||
else ap_log_error(APLOG_MARK, APLOG_INFO, 0, NULL, "%s", my_error_msg);
|
||||
}
|
||||
if (target_list != NULL) free(target_list);
|
||||
if (replace != NULL) free(replace);
|
||||
|
Loading…
x
Reference in New Issue
Block a user