diff options
Diffstat (limited to 'parser.c')
-rw-r--r-- | parser.c | 22 |
1 files changed, 11 insertions, 11 deletions
@@ -353,8 +353,8 @@ static int Parser_id_word(char *id_me, int *channel, int *with_id_code) id_code = 107; } else if (!strcmp(id_me,"reset") || !strcmp(id_me,"res")) { id_code = 108; - } else if (!strcmp(id_me,"broadcast") ) { //FIXME - id_code = 109; + } else if (!strcmp(id_me,"broadcast") ) { //FIXME + id_code = 109; } else { id_code = 9999; } @@ -1057,9 +1057,9 @@ void Parser_main (char *raw_in, int interactive_terminal, void(*cbfunc)(gpointer case 102: error_num=Go_eprom_reset_102(&response,channel,parameter,units,command_type); break; - case 103: - error_num=Go_broadcast_103(&response,channel,parameter,units,command_type); - break; + case 103: + error_num=Go_broadcast_103(&response,channel,parameter,units,command_type); + break; case 9999: // was only whitespace, ignore @@ -4199,12 +4199,12 @@ static int Go_broadcast_103(gchar** response, int channel, char *parameter,char return OK; break; - case command_param_units: - broadcast_str = g_strdup_printf ("broadcast msg: %s %s\r\n> ", parameter, units); - g_printf ("%s", broadcast_str); - g_free (broadcast_str); - return OK; - break; + case command_param_units: + broadcast_str = g_strdup_printf ("broadcast msg: %s %s\r\n> ", parameter, units); + g_printf ("%s", broadcast_str); + g_free (broadcast_str); + return OK; + break; default: return SyntaxError; |