Mercurial > hg > nginx
diff src/http/modules/ngx_http_static_handler.c @ 67:5a7d1aaa1618
nginx-0.0.1-2003-03-11-23:38:13 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 11 Mar 2003 20:38:13 +0000 |
parents | 36d2c25cc9bb |
children | e43f406e4525 |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_static_handler.c +++ b/src/http/modules/ngx_http_static_handler.c @@ -144,8 +144,8 @@ int ngx_http_static_handler(ngx_http_req #if 1 h->type = NGX_HUNK_FILE|NGX_HUNK_LAST; - h->pos.file = 0; - h->last.file = ngx_file_size(r->file.info); + h->file_pos = 0; + h->file_last = ngx_file_size(r->file.info); h->file->fd = r->file.fd; h->file->log = r->connection->log;