summaryrefslogtreecommitdiff
path: root/gpsd.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2006-10-27 14:55:42 +0000
committerEric S. Raymond <esr@thyrsus.com>2006-10-27 14:55:42 +0000
commit18779abdf1298d091424520f7aa29b78dac1024e (patch)
tree0e8923132e8b99cd1b8582c0ddd955517ae7481c /gpsd.c
parent4347a985c974d32c92d75693be1c5fbdd06f7258 (diff)
downloadgpsd-18779abdf1298d091424520f7aa29b78dac1024e.tar.gz
This temporary reversion was needed to regression-test the next change.
Diffstat (limited to 'gpsd.c')
-rw-r--r--gpsd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gpsd.c b/gpsd.c
index 8c097af0..722a7aa2 100644
--- a/gpsd.c
+++ b/gpsd.c
@@ -813,7 +813,7 @@ static int handle_gpsd_request(int cfd, char *buf, int buflen)
if (isnan(whoami->fixbuffer.time)==0)
(void)snprintf(phrase+strlen(phrase),
sizeof(phrase)-strlen(phrase),
- " %.3f",
+ " %.2f",
whoami->fixbuffer.time);
else
(void)strlcat(phrase, " ?", BUFSIZ);
@@ -1016,7 +1016,7 @@ static int handle_gpsd_request(int cfd, char *buf, int buflen)
if (isnan(whoami->device->gpsdata.sentence_time)==0)
(void)snprintf(phrase+strlen(phrase),
sizeof(phrase)-strlen(phrase),
- " %.3f ",
+ " %.2f ",
whoami->device->gpsdata.sentence_time);
else
(void)strlcat(phrase, " ? ", BUFSIZ);