From 58b03f6b9bd96fb6de58e9a75b9af5fab7e3fab0 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 31 Dec 1999 19:32:23 -0500 Subject: gpib works now --- parser.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'parser.c') 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); -- cgit