From f4c28a108ff3954e7dbc359c753a304a1a75ee95 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Fri, 4 Sep 2009 18:51:17 +0000 Subject: [PATCH] fix the previous commit --- src/http/ngx_http_copy_filter_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/http/ngx_http_copy_filter_module.c b/src/http/ngx_http_copy_filter_module.c index 8f4002fe3..713f44023 100644 --- a/src/http/ngx_http_copy_filter_module.c +++ b/src/http/ngx_http_copy_filter_module.c @@ -171,7 +171,7 @@ ngx_http_copy_filter(ngx_http_request_t *r, ngx_chain_t *in) c->busy_sendfile = NULL; e = (ngx_http_ephemeral_t *) &r->uri_start; - n = ngx_file_aio_read(file, e->aio_preload, 1, offset, r->pool); + n = ngx_file_aio_read(file, &e->aio_preload, 1, offset, r->pool); if (n > 0) { continue;