style fix
This commit is contained in:
parent
50480a02a2
commit
d7d54fb5ab
3 changed files with 9 additions and 3 deletions
|
@ -87,7 +87,9 @@ ngx_udp_overlapped_wsarecv(ngx_connection_t *c, u_char *buf, size_t size)
|
|||
}
|
||||
|
||||
if (WSAGetOverlappedResult(c->fd, (LPWSAOVERLAPPED) &rev->ovlp,
|
||||
&bytes, 0, NULL) == 0) {
|
||||
&bytes, 0, NULL)
|
||||
== 0)
|
||||
{
|
||||
ngx_connection_error(c, ngx_socket_errno,
|
||||
"WSARecv() or WSAGetOverlappedResult() failed");
|
||||
return NGX_ERROR;
|
||||
|
|
|
@ -100,7 +100,9 @@ ngx_overlapped_wsarecv(ngx_connection_t *c, u_char *buf, size_t size)
|
|||
}
|
||||
|
||||
if (WSAGetOverlappedResult(c->fd, (LPWSAOVERLAPPED) &rev->ovlp,
|
||||
&bytes, 0, NULL) == 0) {
|
||||
&bytes, 0, NULL)
|
||||
== 0)
|
||||
{
|
||||
ngx_connection_error(c, ngx_socket_errno,
|
||||
"WSARecv() or WSAGetOverlappedResult() failed");
|
||||
return NGX_ERROR;
|
||||
|
|
|
@ -291,7 +291,9 @@ ngx_overlapped_wsasend_chain(ngx_connection_t *c, ngx_chain_t *in, off_t limit)
|
|||
|
||||
} else {
|
||||
if (WSAGetOverlappedResult(c->fd, (LPWSAOVERLAPPED) &wev->ovlp,
|
||||
&sent, 0, NULL) == 0) {
|
||||
&sent, 0, NULL)
|
||||
== 0)
|
||||
{
|
||||
ngx_connection_error(c, ngx_socket_errno,
|
||||
"WSASend() or WSAGetOverlappedResult() failed");
|
||||
|
||||
|
|
Loading…
Reference in a new issue