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

Don't pass 0x1 as a pointer to a syscall. oops.

svn path=/trunk/net/; revision=4593
This commit is contained in:
Michael Smith 2003-04-08 12:09:57 +00:00
parent 7094a0e6c0
commit 2cb0db8e80

View File

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