mirror of
https://github.com/nginx/nginx.git
synced 2026-10-21 19:41:35 +00:00
test ngx_file_info() result, the bug has been introduced in r2070
This commit is contained in:
parent
1cf4988be6
commit
467f437e27
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue