diff options
author | Igor Sysoev <igor@sysoev.ru> | 2010-06-23 20:34:54 +0400 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2010-06-23 20:34:54 +0400 |
commit | aa6936e61a43169bc7ef080e475399f4a514131c (patch) | |
tree | 0705cf8d11e5c16508ceb0bab2d882bd91348d22 /src/os | |
parent | 0923d0814826f390a6b69a1ce7f41e55650ea169 (diff) |
style fix
Diffstat (limited to 'src/os')
-rw-r--r-- | src/os/unix/ngx_readv_chain.c | 4 | ||||
-rw-r--r-- | src/os/unix/ngx_recv.c | 4 | ||||
-rw-r--r-- | src/os/unix/ngx_udp_recv.c | 4 | ||||
-rw-r--r-- | src/os/win32/ngx_wsarecv.c | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/src/os/unix/ngx_readv_chain.c b/src/os/unix/ngx_readv_chain.c index f2dd82c89..b65a0d7b8 100644 --- a/src/os/unix/ngx_readv_chain.c +++ b/src/os/unix/ngx_readv_chain.c @@ -158,7 +158,7 @@ ngx_readv_chain(ngx_connection_t *c, ngx_chain_t *chain) rev->ready = 0; - if (n == NGX_ERROR){ + if (n == NGX_ERROR) { c->read->error = 1; } @@ -247,7 +247,7 @@ ngx_readv_chain(ngx_connection_t *c, ngx_chain_t *chain) rev->ready = 0; - if (n == NGX_ERROR){ + if (n == NGX_ERROR) { c->read->error = 1; } diff --git a/src/os/unix/ngx_recv.c b/src/os/unix/ngx_recv.c index f4d6a2bcc..316e0516d 100644 --- a/src/os/unix/ngx_recv.c +++ b/src/os/unix/ngx_recv.c @@ -113,7 +113,7 @@ ngx_unix_recv(ngx_connection_t *c, u_char *buf, size_t size) rev->ready = 0; - if (n == NGX_ERROR){ + if (n == NGX_ERROR) { rev->error = 1; } @@ -169,7 +169,7 @@ ngx_unix_recv(ngx_connection_t *c, u_char *buf, size_t size) rev->ready = 0; - if (n == NGX_ERROR){ + if (n == NGX_ERROR) { rev->error = 1; } diff --git a/src/os/unix/ngx_udp_recv.c b/src/os/unix/ngx_udp_recv.c index 25f0738ac..fdcd7fa79 100644 --- a/src/os/unix/ngx_udp_recv.c +++ b/src/os/unix/ngx_udp_recv.c @@ -60,7 +60,7 @@ ngx_udp_unix_recv(ngx_connection_t *c, u_char *buf, size_t size) rev->ready = 0; - if (n == NGX_ERROR){ + if (n == NGX_ERROR) { rev->error = 1; } @@ -104,7 +104,7 @@ ngx_udp_unix_recv(ngx_connection_t *c, u_char *buf, size_t size) rev->ready = 0; - if (n == NGX_ERROR){ + if (n == NGX_ERROR) { rev->error = 1; } diff --git a/src/os/win32/ngx_wsarecv.c b/src/os/win32/ngx_wsarecv.c index 314de6e74..032565aaa 100644 --- a/src/os/win32/ngx_wsarecv.c +++ b/src/os/win32/ngx_wsarecv.c @@ -43,7 +43,7 @@ ngx_wsarecv(ngx_connection_t *c, u_char *buf, size_t size) n = ngx_connection_error(c, err, "WSARecv() failed"); - if (n == NGX_ERROR){ + if (n == NGX_ERROR) { rev->error = 1; } @@ -140,7 +140,7 @@ ngx_overlapped_wsarecv(ngx_connection_t *c, u_char *buf, size_t size) n = ngx_connection_error(c, err, "WSARecv() failed"); - if (n == NGX_ERROR){ + if (n == NGX_ERROR) { rev->error = 1; } |