Commit cfbb4891 authored by Georgi Chorbadzhiyski's avatar Georgi Chorbadzhiyski

dvblastctl: Add missing breaks in command building switch.

parent bde362ba
...@@ -415,6 +415,7 @@ int main( int i_argc, char **ppsz_argv ) ...@@ -415,6 +415,7 @@ int main( int i_argc, char **ppsz_argv )
i_size += COMM_HEADER_SIZE i_size += COMM_HEADER_SIZE
+ ((void *)&p_cmd->object - (void *)p_cmd); + ((void *)&p_cmd->object - (void *)p_cmd);
break;
} }
case CMD_MMI_SEND_CHOICE: case CMD_MMI_SEND_CHOICE:
{ {
...@@ -424,6 +425,7 @@ int main( int i_argc, char **ppsz_argv ) ...@@ -424,6 +425,7 @@ int main( int i_argc, char **ppsz_argv )
i_size = COMM_HEADER_SIZE + sizeof(struct cmd_mmi_send); i_size = COMM_HEADER_SIZE + sizeof(struct cmd_mmi_send);
p_cmd->object.i_object_type = EN50221_MMI_MENU_ANSW; p_cmd->object.i_object_type = EN50221_MMI_MENU_ANSW;
p_cmd->object.u.menu_answ.i_choice = atoi(p_arg2); p_cmd->object.u.menu_answ.i_choice = atoi(p_arg2);
break;
} }
case CMD_MMI_SLOT_STATUS: case CMD_MMI_SLOT_STATUS:
case CMD_MMI_OPEN: case CMD_MMI_OPEN:
...@@ -432,6 +434,7 @@ int main( int i_argc, char **ppsz_argv ) ...@@ -432,6 +434,7 @@ int main( int i_argc, char **ppsz_argv )
{ {
p_buffer[4] = atoi(p_arg1); p_buffer[4] = atoi(p_arg1);
i_size = COMM_HEADER_SIZE + 1; i_size = COMM_HEADER_SIZE + 1;
break;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment