summaryrefslogtreecommitdiff
path: root/libgpsd_core.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2014-08-24 10:17:59 -0400
committerEric S. Raymond <esr@thyrsus.com>2014-08-24 10:17:59 -0400
commit0658c2fb8d15fbe78fdd4edd1be184559ab53c32 (patch)
treeb61f6cc53b9aaf5d0575f93966b18a799861460b /libgpsd_core.c
parente18934bf45246408915652f7b6a5e5ce66cccd8a (diff)
downloadgpsd-0658c2fb8d15fbe78fdd4edd1be184559ab53c32.tar.gz
Drop the obsolete tag field from JSON output. Bump the minor protocol number.
Required a regression-test rebuild, of course. The field is still set by the TSIP and SiRF drivers; the SiRF driver actually uses it. It may be possible to eliminate the TSIP uses, but so far attempting this has produced odd regression-test failures.
Diffstat (limited to 'libgpsd_core.c')
-rw-r--r--libgpsd_core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libgpsd_core.c b/libgpsd_core.c
index 13f25d23..dd91ec62 100644
--- a/libgpsd_core.c
+++ b/libgpsd_core.c
@@ -1417,7 +1417,7 @@ gps_mask_t gpsd_poll(struct gps_device_t *session)
if (session->gpsdata.fix.mode > session->newdata.mode)
session->gpsdata.set &= ~MODE_SET;
//gpsd_report(session->context->debug, LOG_PROG,
- // "transfer mask on %s: %02x\n", session->gpsdata.tag, session->gpsdata.set);
+ // "transfer mask: %02x\n", session->gpsdata.set);
gps_merge_fix(&session->gpsdata.fix,
session->gpsdata.set, &session->newdata);
#ifdef CHEAPFLOATS_ENABLE
@@ -1459,7 +1459,7 @@ gps_mask_t gpsd_poll(struct gps_device_t *session)
"date more than a year in the future!\n");
else if (session->newdata.time < 0)
gpsd_report(session->context->debug, LOG_ERROR,
- "date in %s is negative!\n", session->gpsdata.tag);
+ "date is negative!\n");
}
/*@-relaxtypes -longunsignedintegral@*/