[dvblast-devel] dvblastctl: Add missing breaks in command building switch.

Georgi Chorbadzhiyski git at videolan.org
Thu Oct 6 11:04:43 CEST 2011


dvblast | branch: master | Georgi Chorbadzhiyski <gf at unixsol.org> | Thu Oct  6 12:02:46 2011 +0300| [cfbb4891cc9e0786224a7045548a19baa95f5ee3] | committer: Georgi Chorbadzhiyski

dvblastctl: Add missing breaks in command building switch.

> http://git.videolan.org/gitweb.cgi/dvblast.git/?a=commit;h=cfbb4891cc9e0786224a7045548a19baa95f5ee3
---

 dvblastctl.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/dvblastctl.c b/dvblastctl.c
index 49bd997..d6558ef 100644
--- a/dvblastctl.c
+++ b/dvblastctl.c
@@ -415,6 +415,7 @@ int main( int i_argc, char **ppsz_argv )
 
         i_size += COMM_HEADER_SIZE
                    + ((void *)&p_cmd->object - (void *)p_cmd);
+        break;
     }
     case CMD_MMI_SEND_CHOICE:
     {
@@ -424,6 +425,7 @@ int main( int i_argc, char **ppsz_argv )
         i_size = COMM_HEADER_SIZE + sizeof(struct cmd_mmi_send);
         p_cmd->object.i_object_type = EN50221_MMI_MENU_ANSW;
         p_cmd->object.u.menu_answ.i_choice = atoi(p_arg2);
+        break;
     }
     case CMD_MMI_SLOT_STATUS:
     case CMD_MMI_OPEN:
@@ -432,6 +434,7 @@ int main( int i_argc, char **ppsz_argv )
     {
         p_buffer[4] = atoi(p_arg1);
         i_size = COMM_HEADER_SIZE + 1;
+        break;
     }
     }
 



More information about the dvblast-devel mailing list