comparison src/os/unix/ngx_recv.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
111 111
112 } while (err == NGX_EINTR); 112 } while (err == NGX_EINTR);
113 113
114 rev->ready = 0; 114 rev->ready = 0;
115 115
116 if (n == NGX_ERROR){ 116 if (n == NGX_ERROR) {
117 rev->error = 1; 117 rev->error = 1;
118 } 118 }
119 119
120 return n; 120 return n;
121 } 121 }
167 167
168 } while (err == NGX_EINTR); 168 } while (err == NGX_EINTR);
169 169
170 rev->ready = 0; 170 rev->ready = 0;
171 171
172 if (n == NGX_ERROR){ 172 if (n == NGX_ERROR) {
173 rev->error = 1; 173 rev->error = 1;
174 } 174 }
175 175
176 return n; 176 return n;
177 } 177 }