mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 03:34:29 +03:00
Uses %zu to print size_t instead of %d.
This will help to reduce the amount of warnings during the compilation See #631 for further information.
This commit is contained in:
@@ -227,7 +227,7 @@ static int multipart_parse_content_disposition(modsec_rec *msr, char *c_d_value)
|
||||
p--;
|
||||
if(*p == '\'' || *p == '\"') {
|
||||
if (msr->txcfg->debuglog_level >= 9) {
|
||||
msr_log(msr, 9, "Multipart: Invalid quoting detected: %s length %d bytes",
|
||||
msr_log(msr, 9, "Multipart: Invalid quoting detected: %s length %zu bytes",
|
||||
log_escape_nq(msr->mp, p), strlen(p));
|
||||
}
|
||||
msr->mpd->flag_invalid_quoting = 1;
|
||||
|
Reference in New Issue
Block a user