diff options
author | Igor Sysoev <igor@sysoev.ru> | 2011-07-24 17:36:26 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2011-07-24 17:36:26 +0000 |
commit | 6cb6fc4a0900aae03d98a5d388e8eb899e7dbb3e (patch) | |
tree | e0f77971c4dd243a64a4121dd907715ddbc47e6e /src/http/ngx_http_file_cache.c | |
parent | c1250b6a491b221b546d9b0f8bbd3ed762f47b67 (diff) | |
download | nginx-6cb6fc4a0900aae03d98a5d388e8eb899e7dbb3e.tar.gz nginx-6cb6fc4a0900aae03d98a5d388e8eb899e7dbb3e.zip |
update the previous commit:
removing dependencies on file uniq since WIN32_FIND_DATA has no such field
Diffstat (limited to 'src/http/ngx_http_file_cache.c')
-rw-r--r-- | src/http/ngx_http_file_cache.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/http/ngx_http_file_cache.c b/src/http/ngx_http_file_cache.c index 50b9e555f..cce66a807 100644 --- 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_ctx_t *ctx, ngx_str_t *name) 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_cache_t *cache, ngx_http_cache_t *c) 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; |