1
0
mirror of https://gitlab.xiph.org/xiph/icecast-common.git synced 2024-12-04 14:46:31 -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 6bc46604b9
commit 6780ececbc

View File

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