comparison src/os/unix/ngx_readv_chain.c @ 5855:a0a14319968b

Removed duplicate initialization of the "rev" variable.
author Valentin Bartenev <vbart@nginx.com>
date Mon, 22 Sep 2014 19:48:23 +0400
parents b63e829621ab
children ec81934727a1
comparison
equal deleted inserted replaced
5854:b63e829621ab 5855:a0a14319968b
89 } 89 }
90 90
91 ngx_log_debug2(NGX_LOG_DEBUG_EVENT, c->log, 0, 91 ngx_log_debug2(NGX_LOG_DEBUG_EVENT, c->log, 0,
92 "readv: %d, last:%d", vec.nelts, iov->iov_len); 92 "readv: %d, last:%d", vec.nelts, iov->iov_len);
93 93
94 rev = c->read;
95
96 do { 94 do {
97 n = readv(c->fd, (struct iovec *) vec.elts, vec.nelts); 95 n = readv(c->fd, (struct iovec *) vec.elts, vec.nelts);
98 96
99 if (n >= 0) { 97 if (n >= 0) {
100 98