test ngx_file_info() result, the bug has been introduced in r2070

This commit is contained in:
Igor Sysoev 2009-01-21 15:50:52 +00:00
parent 1cf4988be6
commit 467f437e27

View File

@ -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;
}
}