mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 03:34:29 +03:00
Fix apr_size_t formatting. Do not bother with formatting errors on solaris.
This commit is contained in:
@@ -445,7 +445,7 @@ static int flatten_response_body(modsec_rec *msr) {
|
||||
msr->resbody_status = RESBODY_STATUS_READ_BRIGADE;
|
||||
|
||||
if (msr->resbody_length + 1 <= 0) {
|
||||
msr_log(msr, 1, "Output filter: Invalid response length: %lu", msr->resbody_length);
|
||||
msr_log(msr, 1, "Output filter: Invalid response length: %" APR_SIZE_T_FMT, msr->resbody_length);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user