summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-09-04 18:51:17 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-09-04 18:51:17 +0000
commit28debb2191458104f9f40d0945812a97ecd1ba53 (patch)
treedc459f9d58d03ad1208e6a49cd862968ec167d2a
parent78fd825c1ec4e67afb2850b36f715d18882e307c (diff)
downloadnginx-28debb2191458104f9f40d0945812a97ecd1ba53.tar.gz
nginx-28debb2191458104f9f40d0945812a97ecd1ba53.tar.bz2
fix the previous commit
-rw-r--r--src/http/ngx_http_copy_filter_module.c2
1 files changed, 1 insertions, 1 deletions
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;