summaryrefslogtreecommitdiff
path: root/parser.c
diff options
context:
space:
mode:
authorMichael J. Chudobiak <mjc@avtechpulse.com>2012-11-14 11:15:58 -0500
committerMichael J. Chudobiak <mjc@avtechpulse.com>2012-11-14 11:15:58 -0500
commitb49a4e3d3f5e4005c4b1070979b7510011862233 (patch)
tree574be7edd3afa7db3c654457d14ed9dbd8f411e4 /parser.c
parent5e8c4720b8406764b5911d74898c63649d5d5802 (diff)
use GStrings instead of fixed length strings in self-cal
Diffstat (limited to 'parser.c')
-rw-r--r--parser.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/parser.c b/parser.c
index 2f8a52c..791561d 100644
--- a/parser.c
+++ b/parser.c
@@ -3985,7 +3985,8 @@ static int Go_cal_100(gchar** response, int channel, char *parameter,char *units
case query_simple:
status = do_full_self_cal(&caldata);
if (!no_report) {
- query_string(response, caldata.response);
+ query_string(response, caldata.response->str);
+ g_string_free (caldata.response, TRUE);
}
return status;
break;