[vlc-commits] udp: missing break's

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


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

udp: missing break's

(cherry picked from commit 53893837073edd6e14c40c632e777b895d10b7c7)

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

 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