Mercurial > hg > nginx-mail
comparison src/os/unix/ngx_readv_chain.c @ 665:0b460e61bdcd default tip
Merge with nginx 1.0.0.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 25 Apr 2011 04:22:17 +0400 |
parents | c456a023113c |
children |
comparison
equal
deleted
inserted
replaced
572:06419a2298a9 | 665:0b460e61bdcd |
---|---|
156 | 156 |
157 } while (err == NGX_EINTR); | 157 } while (err == NGX_EINTR); |
158 | 158 |
159 rev->ready = 0; | 159 rev->ready = 0; |
160 | 160 |
161 if (n == NGX_ERROR){ | 161 if (n == NGX_ERROR) { |
162 c->read->error = 1; | 162 c->read->error = 1; |
163 } | 163 } |
164 | 164 |
165 return n; | 165 return n; |
166 } | 166 } |
245 | 245 |
246 } while (err == NGX_EINTR); | 246 } while (err == NGX_EINTR); |
247 | 247 |
248 rev->ready = 0; | 248 rev->ready = 0; |
249 | 249 |
250 if (n == NGX_ERROR){ | 250 if (n == NGX_ERROR) { |
251 c->read->error = 1; | 251 c->read->error = 1; |
252 } | 252 } |
253 | 253 |
254 return n; | 254 return n; |
255 } | 255 } |