Klaus Demo nginx / ff95d92
style fix Igor Sysoev 13 years ago
3 changed file(s) with 9 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
8686 }
8787
8888 if (WSAGetOverlappedResult(c->fd, (LPWSAOVERLAPPED) &rev->ovlp,
89 &bytes, 0, NULL) == 0) {
89 &bytes, 0, NULL)
90 == 0)
91 {
9092 ngx_connection_error(c, ngx_socket_errno,
9193 "WSARecv() or WSAGetOverlappedResult() failed");
9294 return NGX_ERROR;
9999 }
100100
101101 if (WSAGetOverlappedResult(c->fd, (LPWSAOVERLAPPED) &rev->ovlp,
102 &bytes, 0, NULL) == 0) {
102 &bytes, 0, NULL)
103 == 0)
104 {
103105 ngx_connection_error(c, ngx_socket_errno,
104106 "WSARecv() or WSAGetOverlappedResult() failed");
105107 return NGX_ERROR;
290290
291291 } else {
292292 if (WSAGetOverlappedResult(c->fd, (LPWSAOVERLAPPED) &wev->ovlp,
293 &sent, 0, NULL) == 0) {
293 &sent, 0, NULL)
294 == 0)
295 {
294296 ngx_connection_error(c, ngx_socket_errno,
295297 "WSASend() or WSAGetOverlappedResult() failed");
296298