summaryrefslogtreecommitdiff
path: root/parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'parser.c')
-rw-r--r--parser.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/parser.c b/parser.c
index eb97868..c425a98 100644
--- a/parser.c
+++ b/parser.c
@@ -743,15 +743,13 @@ void Parser_main (char *in, gchar** response, int allow_unrequested_responses, i
// int control_mode = 0; //CUSTOM
- if (response[0]) {
- // IO_output_to_comm_bus(response,control_mode);
-
-
- }
-
- if (*error_num) {
+// FIXME
+ if (*error_num) {
+ g_free (*response);
queue_error_from_parser(response, *error_num);
- }
+ } // else {
+// IO_output_to_comm_bus(response,control_mode);
+// }
if (!is_query) {
Main_update_shift_registers(); /* update values in pulse generator circuit */