From a2cec836743bdb2bd18c37afe84f3848ed0e6d7e Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 23 Mar 2011 16:48:09 -0400 Subject: Fix bonehead error in the code for backward compatibility with Unix timestamps. --- libgps_json.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libgps_json.c') diff --git a/libgps_json.c b/libgps_json.c index 06b537e0..e327325d 100644 --- a/libgps_json.c +++ b/libgps_json.c @@ -203,7 +203,7 @@ static int json_sky_read(const char *buf, struct gps_data_t *gpsdata, .len = sizeof(gpsdata->tag)}, {"time", t_string, .addr.string = tbuf, .len = sizeof(tbuf)}, - {"time", t_real, .addr.real = &gpsdata->fix.time, + {"time", t_real, .addr.real = &gpsdata->skyview_time, .dflt.real = NAN}, {"hdop", t_real, .addr.real = &gpsdata->dop.hdop, .dflt.real = NAN}, -- cgit v1.2.1