]> git.kaiwu.me - nginx.git/commitdiff
Disable symlinks: removed recursive call of ngx_file_o_path_info().
authorValentin Bartenev <vbart@nginx.com>
Mon, 2 Sep 2013 16:06:03 +0000 (20:06 +0400)
committerValentin Bartenev <vbart@nginx.com>
Mon, 2 Sep 2013 16:06:03 +0000 (20:06 +0400)
It is surplus.

src/core/ngx_open_file_cache.c

index e5773ac0d5ef8514311414f63129b0805e92b3b5..4df2134b2bdb022133d66b460b0ef5b33ac030c7 100644 (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)");
 
         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) {