Mercurial > hg > nginx-quic
comparison src/http/ngx_http_core_module.c @ 2481:d4fd929fb486
fix types and add comment
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 27 Jan 2009 16:22:02 +0000 |
parents | 43dcf8cc2cb1 |
children | 9081bbdccda1 |
comparison
equal
deleted
inserted
replaced
2480:a9abdddaa92d | 2481:d4fd929fb486 |
---|---|
1032 | 1032 |
1033 ngx_int_t | 1033 ngx_int_t |
1034 ngx_http_core_try_files_phase(ngx_http_request_t *r, | 1034 ngx_http_core_try_files_phase(ngx_http_request_t *r, |
1035 ngx_http_phase_handler_t *ph) | 1035 ngx_http_phase_handler_t *ph) |
1036 { | 1036 { |
1037 size_t len, root, alias; | 1037 size_t len, root, alias, reserve, allocated; |
1038 ssize_t reserve, allocated; | |
1039 u_char *p, *name; | 1038 u_char *p, *name; |
1040 ngx_str_t path; | 1039 ngx_str_t path; |
1041 ngx_uint_t test_dir; | 1040 ngx_uint_t test_dir; |
1042 ngx_http_try_file_t *tf; | 1041 ngx_http_try_file_t *tf; |
1043 ngx_open_file_info_t of; | 1042 ngx_open_file_info_t of; |
1057 } | 1056 } |
1058 | 1057 |
1059 allocated = 0; | 1058 allocated = 0; |
1060 root = 0; | 1059 root = 0; |
1061 name = NULL; | 1060 name = NULL; |
1062 path.len = 0; | 1061 /* suppress MSVC warning */ |
1063 path.data = NULL; | 1062 path.data = NULL; |
1064 | 1063 |
1065 tf = clcf->try_files; | 1064 tf = clcf->try_files; |
1066 | 1065 |
1067 alias = clcf->alias ? clcf->name.len : 0; | 1066 alias = clcf->alias ? clcf->name.len : 0; |