Mercurial > hg > nginx-quic
changeset 3968:d7ed8b8b0cdd
update the previous commit:
removing dependencies on file uniq since WIN32_FIND_DATA has no such field
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sun, 24 Jul 2011 17:36:26 +0000 |
parents | 83e41f6f6d96 |
children | 3ea15c6b16da |
files | src/http/ngx_http_file_cache.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/ngx_http_file_cache.c +++ b/src/http/ngx_http_file_cache.c @@ -1366,7 +1366,6 @@ ngx_http_file_cache_add_file(ngx_tree_ct ngx_fd_info_n " \"%s\" failed", name->data); } else { - c.uniq = ngx_file_uniq(&fi); c.length = ngx_file_size(&fi); c.fs_size = (ngx_file_fs_size(&fi) + cache->bsize - 1) / cache->bsize; } @@ -1426,7 +1425,7 @@ ngx_http_file_cache_add(ngx_http_file_ca fcn->exists = 1; fcn->updating = 0; fcn->deleting = 0; - fcn->uniq = c->uniq; + fcn->uniq = 0; fcn->valid_sec = 0; fcn->body_start = 0; fcn->fs_size = c->fs_size;