commit | 467f437e275e5efad12cd77ef1ab0e93f48ae3d4 | [log] [tgz] |
---|---|---|
author | Igor Sysoev <igor@sysoev.ru> | Wed Jan 21 15:50:52 2009 +0000 |
committer | Igor Sysoev <igor@sysoev.ru> | Wed Jan 21 15:50:52 2009 +0000 |
tree | 91b924dd4693604af2c79d43639b80fdf85a1a86 | |
parent | 1cf4988be619558137e76a5413ab9d681fb3f193 [diff] [blame] |
test ngx_file_info() result, the bug has been introduced in r2070
diff --git a/src/core/ngx_open_file_cache.c b/src/core/ngx_open_file_cache.c index f9c6a45..60a8368 100644 --- a/src/core/ngx_open_file_cache.c +++ b/src/core/ngx_open_file_cache.c
@@ -457,7 +457,7 @@ goto failed; } - if (of->is_dir) { + if (ngx_is_dir(&fi)) { goto done; } }