1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/multimedia/spook/files/patch-tcp.c
Wen Heping d01ff0b44b - Fix V4L support
- Add LICENSE
- Pass maintainership to submitter

PR:		201162
Submitted by:	mizhka@gmail.com
2015-06-28 10:47:11 +00:00

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 ) );