[MPlayer-cvslog] r22132 - trunk/stream/tcp.c

reimar subversion at mplayerhq.hu
Sun Feb 4 17:08:33 CET 2007


Author: reimar
Date: Sun Feb  4 17:08:29 2007
New Revision: 22132

Modified:
   trunk/stream/tcp.c

Log:
Use defined() syntax instead without ().


Modified: trunk/stream/tcp.c
==============================================================================
--- trunk/stream/tcp.c	(original)
+++ trunk/stream/tcp.c	Sun Feb  4 17:08:29 2007
@@ -86,7 +86,7 @@
 		return TCP_ERROR_FATAL;
 	}
 
-#if defined SO_RCVTIMEO && defined SO_SNDTIMEO
+#if defined(SO_RCVTIMEO) && defined(SO_SNDTIMEO)
 	tv.tv_sec = 10;
 	tv.tv_usec = 0;
 	setsockopt(socket_server_fd, SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof(tv));



More information about the MPlayer-cvslog mailing list