From 28d2cf9fc388d375a5ee6eef4f9e4d42e0fdc41a Mon Sep 17 00:00:00 2001 From: "Michael J. Chudobiak" Date: Thu, 30 Aug 2012 11:39:08 -0400 Subject: astyle fixes --- parser.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'parser.c') diff --git a/parser.c b/parser.c index 11260d0..c1b1fd9 100644 --- a/parser.c +++ b/parser.c @@ -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; -- cgit