Disable symlinks: removed recursive call of ngx_file_o_path_info().

It is surplus.
This commit is contained in:
Valentin Bartenev 2013-09-02 20:06:03 +04:00
parent 7b37384140
commit 42910391cd

View File

@ -596,7 +596,6 @@ ngx_file_o_path_info(ngx_fd_t fd, ngx_file_info_t *fi, ngx_log_t *log)
"switching to fstatat(AT_EMPTY_PATH)"); "switching to fstatat(AT_EMPTY_PATH)");
use_fstat = 0; use_fstat = 0;
return ngx_file_o_path_info(fd, fi, log);
} }
if (ngx_file_at_info(fd, "", fi, AT_EMPTY_PATH) != NGX_FILE_ERROR) { if (ngx_file_at_info(fd, "", fi, AT_EMPTY_PATH) != NGX_FILE_ERROR) {