Mercurial > hg > nginx-quic
comparison src/http/modules/ngx_http_random_index_module.c @ 6477:47daf95d0138
Fixed logging in close error handling.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Thu, 31 Mar 2016 02:33:50 +0300 |
parents | 778ef9c3fd2d |
children | 061ec464813f |
comparison
equal
deleted
inserted
replaced
6476:5511e846dfc7 | 6477:47daf95d0138 |
---|---|
228 ngx_memcpy(name->data, ngx_de_name(&dir), len); | 228 ngx_memcpy(name->data, ngx_de_name(&dir), len); |
229 } | 229 } |
230 | 230 |
231 if (ngx_close_dir(&dir) == NGX_ERROR) { | 231 if (ngx_close_dir(&dir) == NGX_ERROR) { |
232 ngx_log_error(NGX_LOG_ALERT, r->connection->log, ngx_errno, | 232 ngx_log_error(NGX_LOG_ALERT, r->connection->log, ngx_errno, |
233 ngx_close_dir_n " \"%s\" failed", &path); | 233 ngx_close_dir_n " \"%V\" failed", &path); |
234 } | 234 } |
235 | 235 |
236 n = names.nelts; | 236 n = names.nelts; |
237 | 237 |
238 if (n == 0) { | 238 if (n == 0) { |