changeset 3085:2f400438466f

fix the previous commit
author Igor Sysoev <igor@sysoev.ru>
date Fri, 04 Sep 2009 18:51:17 +0000
parents 2f35eeea86c2
children 3089486a8dc5
files src/http/ngx_http_copy_filter_module.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;