[xiph-cvs] cvs commit: net sock.c
Michael Smith
msmith at xiph.org
Sat Jan 18 18:46:06 PST 2003
msmith 03/01/18 21:46:06
Modified: . sock.c
Log:
Bah. That'll teach me to trust the manpage... let's try something which might
be marginally more portable.
Revision Changes Path
1.11 +1 -1 net/sock.c
Index: sock.c
===================================================================
RCS file: /usr/local/cvsroot/net/sock.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- sock.c 18 Jan 2003 07:08:00 -0000 1.10
+++ sock.c 19 Jan 2003 02:46:06 -0000 1.11
@@ -205,7 +205,7 @@
{
int nodelay = 1;
- return setsockopt(sock, SOL_TCP, TCP_NODELAY, (void *)nodelay,
+ return setsockopt(sock, IPPROTO_TCP, TCP_NODELAY, (void *)nodelay,
sizeof(int));
}
<p><p>--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the commits
mailing list