mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
d01ff0b44b
- Add LICENSE - Pass maintainership to submitter PR: 201162 Submitted by: mizhka@gmail.com
12 lines
381 B
C
12 lines
381 B
C
--- tcp.c.orig 2004-12-29 02:33:21 UTC
|
|
+++ tcp.c
|
|
@@ -454,7 +454,7 @@ static void do_accept( struct event_info
|
|
strerror( errno ) );
|
|
|
|
i = 1;
|
|
- if( setsockopt( fd, SOL_TCP, TCP_NODELAY, &i, sizeof( i ) ) < 0 )
|
|
+ if( setsockopt( fd, IPPROTO_TCP, TCP_NODELAY, &i, sizeof( i ) ) < 0 )
|
|
spook_log( SL_INFO, "error setting TCP_NODELAY on socket: %s",
|
|
strerror( errno ) );
|
|
|