summaryrefslogtreecommitdiff
path: root/response.c
diff options
context:
space:
mode:
Diffstat (limited to 'response.c')
-rw-r--r--response.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/response.c b/response.c
index 14b3164..a597ea8 100644
--- a/response.c
+++ b/response.c
@@ -114,7 +114,6 @@ void responseCb(gpointer instance, GObject *arg1, gpointer user_data)
gchar* str = data->data;
gssize written = 0;
- int errors=OK;
gchar* out = NULL;
@@ -126,11 +125,8 @@ void responseCb(gpointer instance, GObject *arg1, gpointer user_data)
LCD_display_error_message(lcd_str);
// I2C/LCD test functions - stop
- Parser_main(str, &out, 1, &errors);
-
- if(errors) {
-
- }
+ // FIXME - Parser_main may generate multiple responses
+ Parser_main(str, &out, 1);
if(out==NULL) out=g_strdup(" ");