mirror of
https://github.com/nginx/nginx.git
synced 2024-12-01 03:17:17 +08:00
fix typo
This commit is contained in:
parent
40b4ba1663
commit
f9dd541edb
@ -44,7 +44,7 @@ ngx_write_channel(ngx_socket_t s, ngx_channel_t *ch, size_t size,
|
||||
* dereferencing type-punned pointer will break strict-aliasing rules
|
||||
*
|
||||
* Fortunately, gcc with -O1 compiles this ngx_memcpy()
|
||||
* in the same simple assigment as in the code above
|
||||
* in the same simple assignment as in the code above
|
||||
*/
|
||||
|
||||
ngx_memcpy(CMSG_DATA(&cmsg.cm), &ch->fd, sizeof(int));
|
||||
|
Loading…
Reference in New Issue
Block a user