diff options
author | Igor Sysoev <igor@sysoev.ru> | 2009-01-21 18:50:52 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2009-01-21 18:50:52 +0300 |
commit | 467f437e275e5efad12cd77ef1ab0e93f48ae3d4 (patch) | |
tree | 91b924dd4693604af2c79d43639b80fdf85a1a86 /src/core/ngx_open_file_cache.c | |
parent | 1cf4988be619558137e76a5413ab9d681fb3f193 (diff) |
test ngx_file_info() result, the bug has been introduced in r2070
Diffstat (limited to 'src/core/ngx_open_file_cache.c')
-rw-r--r-- | src/core/ngx_open_file_cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ngx_open_file_cache.c b/src/core/ngx_open_file_cache.c index f9c6a459a..60a8368be 100644 --- a/src/core/ngx_open_file_cache.c +++ b/src/core/ngx_open_file_cache.c @@ -457,7 +457,7 @@ ngx_open_and_stat_file(u_char *name, ngx_open_file_info_t *of, ngx_log_t *log) goto failed; } - if (of->is_dir) { + if (ngx_is_dir(&fi)) { goto done; } } |