diff options
author | Igor Sysoev <igor@sysoev.ru> | 2003-03-11 20:38:13 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2003-03-11 20:38:13 +0000 |
commit | b738757f359a79b346bcc40895ed0a5ca697e8e2 (patch) | |
tree | 517f3cdbf30667c5183ba06f4d895acc78a308bf /src/http/modules/ngx_http_static_handler.c | |
parent | 0dad629f63e6bb8bc61314ba0c0aed5412353947 (diff) | |
download | nginx-b738757f359a79b346bcc40895ed0a5ca697e8e2.tar.gz nginx-b738757f359a79b346bcc40895ed0a5ca697e8e2.zip |
nginx-0.0.1-2003-03-11-23:38:13 import
Diffstat (limited to 'src/http/modules/ngx_http_static_handler.c')
-rw-r--r-- | src/http/modules/ngx_http_static_handler.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http/modules/ngx_http_static_handler.c b/src/http/modules/ngx_http_static_handler.c index 8360cc367..7b494ee7d 100644 --- 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_request_t *r) #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; |