From b738757f359a79b346bcc40895ed0a5ca697e8e2 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Tue, 11 Mar 2003 20:38:13 +0000 Subject: nginx-0.0.1-2003-03-11-23:38:13 import --- src/http/modules/ngx_http_static_handler.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/http/modules/ngx_http_static_handler.c') 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; -- cgit v1.2.3