comparison src/os/unix/ngx_recv.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
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 }