aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_solaris_sendfilev_chain.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2004-05-28 15:49:23 +0000
committerIgor Sysoev <igor@sysoev.ru>2004-05-28 15:49:23 +0000
commit369145cef1971e4273dc59340689c2d96f84d18a (patch)
tree55f59267d9ada5160ad74168bf5721ce5b3653ff /src/os/unix/ngx_solaris_sendfilev_chain.c
parent87a7d1c44917e352e336c859c2a797e5d60b19da (diff)
downloadnginx-369145cef1971e4273dc59340689c2d96f84d18a.tar.gz
nginx-369145cef1971e4273dc59340689c2d96f84d18a.zip
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_solaris_sendfilev_chain.c')
-rw-r--r--src/os/unix/ngx_solaris_sendfilev_chain.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/os/unix/ngx_solaris_sendfilev_chain.c b/src/os/unix/ngx_solaris_sendfilev_chain.c
index 1c755e8dc..964027f65 100644
--- a/src/os/unix/ngx_solaris_sendfilev_chain.c
+++ b/src/os/unix/ngx_solaris_sendfilev_chain.c
@@ -40,7 +40,7 @@ ngx_chain_t *ngx_solaris_sendfilev_chain(ngx_connection_t *c, ngx_chain_t *in)
ngx_init_array(vec, c->pool, 10, sizeof(sendfilevec_t),
NGX_CHAIN_ERROR);
- /* create the sendfilevec and coalesce the neighbouring hunks */
+ /* create the sendfilevec and coalesce the neighbouring bufs */
for (cl = in; cl && vec.nelts < IOV_MAX; cl = cl->next) {
if (ngx_hunk_special(cl->hunk)) {
@@ -83,8 +83,8 @@ ngx_chain_t *ngx_solaris_sendfilev_chain(ngx_connection_t *c, ngx_chain_t *in)
}
/*
- * the tail is the rest of the chain that exceeded a single
- * sendfilev() capability, IOV_MAX in Solaris is only 16
+ * the tail is the rest of the chain that exceedes a single
+ * sendfilev() capability, IOV_MAX in Solaris is limited by 16
*/
tail = cl;