comparison src/os/unix/ngx_readv_chain.c @ 561:e48ebafc6939 release-0.3.2

nginx-0.3.2-RELEASE import *) Feature: the Sun Studio 10 C compiler support. *) Feature: the "proxy_upstream_max_fails", "proxy_upstream_fail_timeout", "fastcgi_upstream_max_fails", and "fastcgi_upstream_fail_timeout" directives.
author Igor Sysoev <igor@sysoev.ru>
date Wed, 12 Oct 2005 13:50:36 +0000
parents d4ea69372b94
children 4d9ea73a627a
comparison
equal deleted inserted replaced
560:8886091eddd2 561:e48ebafc6939
180 iov = ngx_array_push(&vec); 180 iov = ngx_array_push(&vec);
181 if (iov == NULL) { 181 if (iov == NULL) {
182 return NGX_ERROR; 182 return NGX_ERROR;
183 } 183 }
184 184
185 iov->iov_base = chain->buf->last; 185 iov->iov_base = (void *) chain->buf->last;
186 iov->iov_len = chain->buf->end - chain->buf->last; 186 iov->iov_len = chain->buf->end - chain->buf->last;
187 } 187 }
188 188
189 size += chain->buf->end - chain->buf->last; 189 size += chain->buf->end - chain->buf->last;
190 prev = chain->buf->end; 190 prev = chain->buf->end;