]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
sunrpc: Fix spurious fall-through
authorAndreas Schwab <schwab@redhat.com>
Fri, 21 May 2010 18:52:20 +0000 (11:52 -0700)
committerPetr Baudis <pasky@ucw.cz>
Mon, 31 May 2010 16:59:48 +0000 (18:59 +0200)
(cherry picked from commit f0ccf6ea41931f325df4699a4c7fdf81888563ee)

ChangeLog
sunrpc/clnt_tcp.c
sunrpc/clnt_udp.c
sunrpc/clnt_unix.c

index bb4e4d5dadf6c40796e19c9bf8edc6a1f73b2b9f..1a571ec554835a46daeeb5e15d0ec55ed6ad60d2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-05-21  Andreas Schwab  <schwab@redhat.com>
+
+       * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
+       * sunrpc/clnt_udp.c (clntudp_control): Likewise.
+       * sunrpc/clnt_unix.c (clntunix_control): Likewise.
+
 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
 
        * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
index 1552be87ad7e582bb76464491de177d3dd6fe8fc..d26a1268ab046f396a650ff6ab1dd61783627f28 100644 (file)
@@ -399,6 +399,7 @@ clnttcp_control (CLIENT *cl, int request, char *info)
       /* This will set the xid of the NEXT call */
       *(u_long *)ct->ct_mcall =  htonl (*(u_long *)info - 1);
       /* decrement by 1 as clnttcp_call() increments once */
+      break;
     case CLGET_VERS:
       /*
        * This RELIES on the information that, in the call body,
index 62ee3a1c99b3578d784da61695691fcd74050efc..360e26a5944bfeb7127937b279a7ac34587332e2 100644 (file)
@@ -582,6 +582,7 @@ clntudp_control (CLIENT *cl, int request, char *info)
       /* This will set the xid of the NEXT call */
       *(u_long *)cu->cu_outbuf =  htonl(*(u_long *)info - 1);
       /* decrement by 1 as clntudp_call() increments once */
+      break;
     case CLGET_VERS:
       /*
        * This RELIES on the information that, in the call body,
index db3ea312afe9bce30208259a91fdb7c4b05a4685..bca1273e2237ea1bba843001ef258301e52549a6 100644 (file)
@@ -376,6 +376,7 @@ clntunix_control (CLIENT *cl, int request, char *info)
       /* This will set the xid of the NEXT call */
       *(u_long *) ct->ct_mcall =  htonl (*(u_long *)info - 1);
       /* decrement by 1 as clntunix_call() increments once */
+      break;
     case CLGET_VERS:
       /*
        * This RELIES on the information that, in the call body,