diff options
author | Igor Sysoev <igor@sysoev.ru> | 2004-05-28 19:49:23 +0400 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2004-05-28 19:49:23 +0400 |
commit | 369145cef1971e4273dc59340689c2d96f84d18a (patch) | |
tree | 55f59267d9ada5160ad74168bf5721ce5b3653ff /src/os/unix/ngx_aio_read_chain.c | |
parent | 87a7d1c44917e352e336c859c2a797e5d60b19da (diff) |
nginx-0.0.3-2004-05-28-19:49:23 import; rename ngx_hunk_t to ngx_buf_t
Diffstat (limited to 'src/os/unix/ngx_aio_read_chain.c')
-rw-r--r-- | src/os/unix/ngx_aio_read_chain.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/os/unix/ngx_aio_read_chain.c b/src/os/unix/ngx_aio_read_chain.c index 2858afa5b..e850d3462 100644 --- a/src/os/unix/ngx_aio_read_chain.c +++ b/src/os/unix/ngx_aio_read_chain.c @@ -28,15 +28,15 @@ ssize_t ngx_aio_read_chain(ngx_connection_t *c, ngx_chain_t *cl) return total ? total : NGX_AGAIN; } - buf = cl->hunk->last; - prev = cl->hunk->last; + buf = cl->buf->last; + prev = cl->buf->last; size = 0; - /* coalesce the neighbouring hunks */ + /* coalesce the neighbouring bufs */ - while (cl && prev == cl->hunk->last) { - size += cl->hunk->end - cl->hunk->last; - prev = cl->hunk->end; + while (cl && prev == cl->buf->last) { + size += cl->buf->end - cl->buf->last; + prev = cl->buf->end; cl = cl->next; } |