# HG changeset patch # User Igor Sysoev # Date 1252090277 0 # Node ID 2f400438466fa3a20f5b9798f7a2e9366ed0883b # Parent 2f35eeea86c2d1256275e3f387f3bb60f8704bc9 fix the previous commit diff --git a/src/http/ngx_http_copy_filter_module.c b/src/http/ngx_http_copy_filter_module.c --- 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 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;