1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-12-04 14:46:30 -05:00

Bah. That'll teach me to trust the manpage... let's try something which might

be marginally more portable.

svn path=/trunk/net/; revision=4279
This commit is contained in:
Michael Smith 2003-01-19 02:46:06 +00:00
parent 0b57a33794
commit cefe6b8970

View File

@ -205,7 +205,7 @@ int sock_set_nodelay(sock_t sock)
{ {
int nodelay = 1; int nodelay = 1;
return setsockopt(sock, SOL_TCP, TCP_NODELAY, (void *)nodelay, return setsockopt(sock, IPPROTO_TCP, TCP_NODELAY, (void *)nodelay,
sizeof(int)); sizeof(int));
} }