summaryrefslogtreecommitdiff
path: root/response.c
diff options
context:
space:
mode:
authorroot <root@fedora-arm.domain.avtechpulse.com>1999-12-31 20:28:31 -0500
committerroot <root@fedora-arm.domain.avtechpulse.com>1999-12-31 20:28:31 -0500
commit839c01f7c250431644bd827e21f7363314ef3f13 (patch)
tree6b3ad3b3a4bf811651c1055074d2f184a8c89a3e /response.c
parentf58de74bf0fc34cc1e5547324e21772f83b09923 (diff)
prepare to arrange responses as callbacks
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(" ");