]> git.kaiwu.me - nginx.git/commitdiff
fix the previous commit
authorIgor Sysoev <igor@sysoev.ru>
Fri, 4 Sep 2009 18:51:17 +0000 (18:51 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Fri, 4 Sep 2009 18:51:17 +0000 (18:51 +0000)
src/http/ngx_http_copy_filter_module.c

index 8f4002fe38df28fd222e265a98f1f7ee02cbd54c..713f440236f88359ead463dc3d03dbfc0d47380c 100644 (file)
@@ -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;