mirror of
https://github.com/nginx/nginx.git
synced 2026-08-04 14:58:20 +00:00
style fix
This commit is contained in:
parent
a70d086812
commit
ff95d9290c
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…
Add table
Add a link
Reference in a new issue