Mercurial > hg > nginx
comparison src/event/ngx_event.c @ 1092:3184d28c22dc
style fix
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 31 Jan 2007 07:31:50 +0000 |
parents | 797b54c6425b |
children | f69d1aab6a0f 1593532dcc35 |
comparison
equal
deleted
inserted
replaced
1091:58f1641783ca | 1092:3184d28c22dc |
---|---|
843 } | 843 } |
844 | 844 |
845 sndlowat = (int) lowat; | 845 sndlowat = (int) lowat; |
846 | 846 |
847 if (setsockopt(c->fd, SOL_SOCKET, SO_SNDLOWAT, | 847 if (setsockopt(c->fd, SOL_SOCKET, SO_SNDLOWAT, |
848 (const void *) &sndlowat, sizeof(int)) == -1) | 848 (const void *) &sndlowat, sizeof(int)) |
849 == -1) | |
849 { | 850 { |
850 ngx_connection_error(c, ngx_socket_errno, | 851 ngx_connection_error(c, ngx_socket_errno, |
851 "setsockopt(SO_SNDLOWAT) failed"); | 852 "setsockopt(SO_SNDLOWAT) failed"); |
852 return NGX_ERROR; | 853 return NGX_ERROR; |
853 } | 854 } |