summaryrefslogtreecommitdiff
path: root/parser.c
diff options
context:
space:
mode:
authorroot <root@fedora-arm.domain.avtechpulse.com>1999-12-31 19:32:23 -0500
committerroot <root@fedora-arm.domain.avtechpulse.com>1999-12-31 19:32:23 -0500
commit58b03f6b9bd96fb6de58e9a75b9af5fab7e3fab0 (patch)
treecffeacc2c0ae0c8c759ee6b779a1feb997754aa6 /parser.c
parentb79cf089944f6e6f78f34c37f44c632efa780e6e (diff)
gpib works now
Diffstat (limited to 'parser.c')
-rw-r--r--parser.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/parser.c b/parser.c
index 86285f4..b1fe924 100644
--- a/parser.c
+++ b/parser.c
@@ -1081,7 +1081,9 @@ void Parser_main (char *raw_in, int interactive_terminal, void(*cbfunc)(gpointer
(*cbfunc)(user_data, error_response);
}
} else {
- (*cbfunc)(user_data, response);
+ if (interactive_terminal) {
+ (*cbfunc)(user_data, response);
+ }
}
g_free (units);