Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-10-14 15:33:35 +0400
committerIgor Sysoev <igor@sysoev.ru>2009-10-14 15:33:35 +0400
commite58700d3b08bee27db7206c2eefe858ad0488b4a (patch)
treecf325092d4040941f6e028b41a4cc967573d6a23 /src/os/win32/ngx_files.h
parente7138540d603336a0f2187d8cf20d24b54ed265e (diff)
*) reset cached dirent.d_type after stat()
this fixes slash after link to a directory in ngx_http_autoindex_module; *) use cached dirent.d_type as hint on all systems the issues has been introduced in r2235
Diffstat (limited to 'src/os/win32/ngx_files.h')
-rw-r--r--src/os/win32/ngx_files.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/win32/ngx_files.h b/src/os/win32/ngx_files.h
index 605eee85e..cc9fa8f1e 100644
--- a/src/os/win32/ngx_files.h
+++ b/src/os/win32/ngx_files.h
@@ -21,7 +21,7 @@ typedef struct {
WIN32_FIND_DATA finddata;
unsigned valid_info:1;
- unsigned valid_type:1;
+ unsigned type:1;
unsigned ready:1;
} ngx_dir_t;