diff options
author | Gary E. Miller <gem@rellim.com> | 2018-09-26 18:39:36 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2018-09-26 18:39:36 -0700 |
commit | ca2f7587dedb71b588cb3e6300a767fcdc5b06e4 (patch) | |
tree | 5bb498c2fffa1fc9b8a509f7791991910b9b4495 | |
parent | da8ea0005764075952e44c4a663a2edcd454abac (diff) | |
download | gpsd-ca2f7587dedb71b588cb3e6300a767fcdc5b06e4.tar.gz |
test_json: fix debug output for tests 16 and 17.
-rw-r--r-- | test_json.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test_json.c b/test_json.c index aa68a16b..82263ac2 100644 --- a/test_json.c +++ b/test_json.c @@ -503,7 +503,7 @@ static void jsontest(int i) strlcat(json_strOver2, "\"}", sizeof(json_strOver2)); if (2 < debug) { - (void)fprintf(stderr, "test string: %s.\n", json_strOver); + (void)fprintf(stderr, "test string: %s.\n", json_strOver2); } json_short_string_cnt = 7; status = json_read_object(json_strOver2, json_short_string, NULL); @@ -523,7 +523,7 @@ static void jsontest(int i) strlcat(json_strOver2, "\"}", sizeof(json_strOver2)); if (2 < debug) { - (void)fprintf(stderr, "test string: %s.\n", json_strOver); + (void)fprintf(stderr, "test string: %s.\n", json_strOver2); } json_short_string_cnt = 7; status = json_read_object(json_strOver2, json_short_string, NULL); |