[vlc-commits] udp: missing break's

Rémi Denis-Courmont git at videolan.org
Fri Aug 9 17:42:02 CEST 2013


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Aug  9 18:41:52 2013 +0300| [53893837073edd6e14c40c632e777b895d10b7c7] | committer: Rémi Denis-Courmont

udp: missing break's

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=53893837073edd6e14c40c632e777b895d10b7c7
---

 src/network/udp.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/network/udp.c b/src/network/udp.c
index d3ccf7f..9f281b6 100644
--- a/src/network/udp.c
+++ b/src/network/udp.c
@@ -255,6 +255,7 @@ static int net_SetMcastOut (vlc_object_t *p_this, int fd, int family,
             if (setsockopt (fd, SOL_IPV6, IPV6_MULTICAST_IF,
                             &scope, sizeof (scope)) == 0)
                 return 0;
+            break;
 #endif
 
 #ifdef __linux__
@@ -264,6 +265,7 @@ static int net_SetMcastOut (vlc_object_t *p_this, int fd, int family,
             if (setsockopt (fd, SOL_IP, IP_MULTICAST_IF,
                             &req, sizeof (req)) == 0)
                 return 0;
+            break;
         }
 #endif
         default:



More information about the vlc-commits mailing list