Mercurial > hg > nginx-ranges
comparison src/os/unix/ngx_readv_chain.c @ 635:e67b227c8dbb default tip
Merge with current.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 25 Apr 2011 04:07:55 +0400 |
parents | c456a023113c |
children |
comparison
equal
deleted
inserted
replaced
578:f3a9e57d2e17 | 635:e67b227c8dbb |
---|---|
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 } |