summaryrefslogtreecommitdiff
path: root/parser.c
diff options
context:
space:
mode:
authorroot <root@fedora-arm.domain.avtechpulse.com>1999-12-31 20:12:42 -0500
committerroot <root@fedora-arm.domain.avtechpulse.com>1999-12-31 20:12:42 -0500
commit52b66ee4a84620966636a8fb87c45437a4a04b04 (patch)
treeb618739c95459df0eaf05f092039b2f15af1743a /parser.c
parent08819acf094883c069e7c3088d5da6a9c24c45b8 (diff)
many small fixes
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 */