[vlc-commits] udp: missing break's

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


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

udp: missing break's

(cherry picked from commit 53893837073edd6e14c40c632e777b895d10b7c7)

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

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

diff --git a/src/network/udp.c b/src/network/udp.c
index d88e18d..77dcf57 100644
--- a/src/network/udp.c
+++ b/src/network/udp.c
@@ -261,6 +261,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__
@@ -270,6 +271,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