diff options
author | root <root@avtech.domain.avtechpulse.com> | 1999-12-31 19:37:14 -0500 |
---|---|---|
committer | root <root@avtech.domain.avtechpulse.com> | 1999-12-31 19:37:14 -0500 |
commit | 8f433cde879a40fc96f295bfa35e5869781adc5d (patch) | |
tree | e497e9118c5cca14806718aa2e74446d5a07d7bd /parser.c | |
parent | 047fcb18ded8438d5763ad537c64a2c110052a11 (diff) |
gpib queries should work fully now
Diffstat (limited to 'parser.c')
-rw-r--r-- | parser.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -1064,10 +1064,8 @@ void Parser_main (char *raw_in, int interactive_terminal, void(*cbfunc)(gpointer if (interactive_terminal) { (*cbfunc)(user_data, error_response); } - } else { - if (interactive_terminal) { - (*cbfunc)(user_data, response); - } + } else if (response != NULL) { + (*cbfunc)(user_data, response); } g_free (units); |