vlc/vlc-2.0 | branch: master | Florian Roeske 
<[email protected]> | Wed Aug  8 16:43:31 2012 +1200| 
[6a08107331fdaed5cf9008739ed4c5db8564d147] | committer: Rémi Denis-Courmont

Fix ipv6 multicast socket option

Signed-off-by: Jean-Baptiste Kempf <[email protected]>
(cherry picked from commit f19700eac766624f1c5c72e3668ea186a1edef8f)
Signed-off-by: Rémi Denis-Courmont <[email protected]>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=6a08107331fdaed5cf9008739ed4c5db8564d147
---

 src/network/udp.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/network/udp.c b/src/network/udp.c
index d30f4e9..d88e18d 100644
--- a/src/network/udp.c
+++ b/src/network/udp.c
@@ -259,7 +259,7 @@ static int net_SetMcastOut (vlc_object_t *p_this, int fd, 
int family,
 #ifdef IPV6_MULTICAST_IF
         case AF_INET6:
             if (setsockopt (fd, SOL_IPV6, IPV6_MULTICAST_IF,
-                            &scope, sizeof (scope) == 0))
+                            &scope, sizeof (scope)) == 0)
                 return 0;
 #endif
 

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to