do not log misleading errno in "not a regular file" error
Igor Sysoev
12 years ago
179 | 179 | #if !(NGX_WIN32) /* the not regular files are probably Unix specific */ |
180 | 180 | |
181 | 181 | if (!of.is_file) { |
182 | ngx_log_error(NGX_LOG_CRIT, log, ngx_errno, | |
182 | ngx_log_error(NGX_LOG_CRIT, log, 0, | |
183 | 183 | "\"%s\" is not a regular file", path.data); |
184 | 184 | |
185 | 185 | return NGX_HTTP_NOT_FOUND; |