]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
The format specifier is APR_SIZE_T_FMT, so there is no point in trying to log -1...
authorChristophe Jaillet <jailletc36@apache.org>
Thu, 20 Jan 2022 21:22:04 +0000 (21:22 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Thu, 20 Jan 2022 21:22:04 +0000 (21:22 +0000)
commit84aceb715b639cfda7e078b799baf6b0f18cf451
treeed42e5661899941dcfd2f1f4fa84aaea826fcf86
parentaf558302645384b998333f214d0af37cb3a4ff26
The format specifier is APR_SIZE_T_FMT, so there is no point in trying to log -1 if apr_file_read() fails, because size_t is unsigned.

It is more straighforward to log the real value returned by apr_file_read() in such a case. The error code is also logged anyway.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1897270 13f79535-47bb-0310-9956-ffa450edef68
modules/filters/mod_ext_filter.c