Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@nginx.com>2016-03-30 11:52:16 +0300
committerRuslan Ermilov <ru@nginx.com>2016-03-30 11:52:16 +0300
commit7ad57da59821294255610545b2b5ce07e74124a5 (patch)
tree91bb44ad5950b703d0f49a8744f0b9b08cf29f11 /src/os/win32
parentdfbc51a8cc850154fe8839408f32c7e322f5cdf0 (diff)
Style.
Diffstat (limited to 'src/os/win32')
-rw-r--r--src/os/win32/ngx_atomic.h8
-rw-r--r--src/os/win32/ngx_wsasend_chain.c10
2 files changed, 9 insertions, 9 deletions
diff --git a/src/os/win32/ngx_atomic.h b/src/os/win32/ngx_atomic.h
index d89a0d3ca..113f56161 100644
--- a/src/os/win32/ngx_atomic.h
+++ b/src/os/win32/ngx_atomic.h
@@ -27,16 +27,16 @@ typedef volatile ngx_atomic_uint_t ngx_atomic_t;
/* the new SDK headers */
#define ngx_atomic_cmp_set(lock, old, set) \
- ((ngx_atomic_uint_t) InterlockedCompareExchange((long *) lock, set, old) \
- == old)
+ ((ngx_atomic_uint_t) InterlockedCompareExchange((long *) lock, set, old) \
+ == old)
#else
/* the old MS VC6.0SP2 SDK headers */
#define ngx_atomic_cmp_set(lock, old, set) \
- (InterlockedCompareExchange((void **) lock, (void *) set, (void *) old) \
- == (void *) old)
+ (InterlockedCompareExchange((void **) lock, (void *) set, (void *) old) \
+ == (void *) old)
#endif
diff --git a/src/os/win32/ngx_wsasend_chain.c b/src/os/win32/ngx_wsasend_chain.c
index 081562762..e2dde22c9 100644
--- a/src/os/win32/ngx_wsasend_chain.c
+++ b/src/os/win32/ngx_wsasend_chain.c
@@ -233,11 +233,11 @@ ngx_overlapped_wsasend_chain(ngx_connection_t *c, ngx_chain_t *in, off_t limit)
} else if (ngx_event_flags & NGX_USE_IOCP_EVENT) {
- /*
- * if a socket was bound with I/O completion port then
- * GetQueuedCompletionStatus() would anyway return its status
- * despite that WSASend() was already complete
- */
+ /*
+ * if a socket was bound with I/O completion port then
+ * GetQueuedCompletionStatus() would anyway return its status
+ * despite that WSASend() was already complete
+ */
wev->active = 1;
return in;