]> git.sesse.net Git - vlc/commitdiff
Compile fix
authorChristophe Mutricy <xtophe@videolan.org>
Mon, 4 Jul 2005 09:27:56 +0000 (09:27 +0000)
committerChristophe Mutricy <xtophe@videolan.org>
Mon, 4 Jul 2005 09:27:56 +0000 (09:27 +0000)
include/network.h

index 4faf2a08b0c83f6639ef96d25299cfea2c3879fa..7060ace7e775e0dce246ce78736249de936088f2 100644 (file)
@@ -363,8 +363,8 @@ VLC_EXPORT( int, __net_vaPrintf, ( vlc_object_t *p_this, int fd, v_socket_t *, c
 # define net_StopRecv( fd ) shutdown( fd, SD_RECEIVE )
 #else
 # warning FIXME: implement shutdown on your platform!
-# define net_StopSend( fd ) void(0)
-# define net_StopRecv( fd ) void(0)
+# define net_StopSend( fd ) return(-1) 
+# define net_StopRecv( fd ) return(-1)
 #endif
 
 #define net_CheckIP(a,b,c,d) __net_CheckIP(VLC_OBJECT(a),b,c,d)