diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2007-12-12 15:37:53 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2007-12-12 15:37:53 +0000 |
commit | f5e7aa504795a82fd25e326530e3a3dbc2ce5b11 (patch) | |
tree | 19a31e1998751391b7c4b06b6906a9d0256fe88d /libgpsd_core.c | |
parent | a287fc607218385b8e9526ab0c79916aaba92ab0 (diff) | |
download | gpsd-f5e7aa504795a82fd25e326530e3a3dbc2ce5b11.tar.gz |
With this change, it looks like the playacar regression test stabilizes.
Diffstat (limited to 'libgpsd_core.c')
-rw-r--r-- | libgpsd_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgpsd_core.c b/libgpsd_core.c index cb45d79d..6980473d 100644 --- a/libgpsd_core.c +++ b/libgpsd_core.c @@ -383,7 +383,7 @@ static void gpsd_transit_fix_dump(struct gps_device_t *session, struct tm tm; time_t intfixtime; - tm.tm_mday = tm.tm_mon = tm.tm_year = 0; + tm.tm_mday = tm.tm_mon = tm.tm_year = tm.tm_hour = tm.tm_min = tm.tm_sec = 0; if (isnan(session->gpsdata.fix.time)==0) { intfixtime = (time_t)session->gpsdata.fix.time; (void)gmtime_r(&intfixtime, &tm); |