Mercurial > hg > nginx
comparison src/os/win32/ngx_wsasend_chain.c @ 5875:d91b98232e4c
Style.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Tue, 14 Oct 2014 20:19:36 +0400 |
parents | 35b8e5e98508 |
children | de68ed551bfb |
comparison
equal
deleted
inserted
replaced
5874:2aff40b3dea2 | 5875:d91b98232e4c |
---|---|
154 | 154 |
155 /* post the overlapped WSASend() */ | 155 /* post the overlapped WSASend() */ |
156 | 156 |
157 /* the maximum limit size is the maximum u_long value - the page size */ | 157 /* the maximum limit size is the maximum u_long value - the page size */ |
158 | 158 |
159 if (limit == 0 || limit > (off_t) (NGX_MAX_UINT32_VALUE - ngx_pagesize)) { | 159 if (limit == 0 || limit > (off_t) (NGX_MAX_UINT32_VALUE - ngx_pagesize)) |
160 { | |
160 limit = NGX_MAX_UINT32_VALUE - ngx_pagesize; | 161 limit = NGX_MAX_UINT32_VALUE - ngx_pagesize; |
161 } | 162 } |
162 | 163 |
163 /* | 164 /* |
164 * WSABUFs must be 4-byte aligned otherwise | 165 * WSABUFs must be 4-byte aligned otherwise |