diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-10-07 04:26:48 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-10-07 04:26:48 -0400 |
commit | 89281bde8c9906bb4d7b44ba9ee33c196fcd4164 (patch) | |
tree | 9d9265f86d3e84533b91a59a6795b27033a204fd /gpsd_json.c | |
parent | 9b4697d67d4d04ab7e41ace148fc20cb5321aa56 (diff) | |
download | gpsd-89281bde8c9906bb4d7b44ba9ee33c196fcd4164.tar.gz |
Clean up some variable names.
Diffstat (limited to 'gpsd_json.c')
-rw-r--r-- | gpsd_json.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gpsd_json.c b/gpsd_json.c index 17ed36c9..f3311d06 100644 --- a/gpsd_json.c +++ b/gpsd_json.c @@ -126,7 +126,7 @@ void json_tpv_dump(const struct gps_data_t *gpsdata, { char tbuf[JSON_DATE_MAX+1]; #ifdef TIMING_ENABLE - timestamp_t xmit_time = timestamp(); + timestamp_t rtime = timestamp(); #endif /* TIMING_ENABLE */ assert(replylen > 2); @@ -214,11 +214,11 @@ void json_tpv_dump(const struct gps_data_t *gpsdata, if (policy->timing) (void)snprintf(reply + strlen(reply), replylen - strlen(reply), - "\"cycle_start\":%f,\"cycle_count\":%lu,\"sats\":%2d,\"xmit_time\":%f,", - gpsdata->cycle_start, - gpsdata->cycle_count, + "\"sor\":%f,\"chars\":%lu,\"sats\":%2d,\"rtime\":%f,", + gpsdata->sor, + gpsdata->chars, gpsdata->satellites_used, - xmit_time); + rtime); #endif /* TIMING_ENABLE */ } if (reply[strlen(reply) - 1] == ',') |