diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2006-10-27 15:07:57 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2006-10-27 15:07:57 +0000 |
commit | 6fe61c9984fc1c9bb8447de6e6eb606fdca84922 (patch) | |
tree | 86541c291adfd79d464ae2b03919b35a286ceb1c /gpsd.c | |
parent | bffb7c6ebd5814e7afbd08ee69f922c73e47dd94 (diff) | |
download | gpsd-6fe61c9984fc1c9bb8447de6e6eb606fdca84922.tar.gz |
Code and regression tests are back in sync.
Diffstat (limited to 'gpsd.c')
-rw-r--r-- | gpsd.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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), - " %.2f", + " %.3f", 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), - " %.2f ", + " %.3f ", whoami->device->gpsdata.sentence_time); else (void)strlcat(phrase, " ? ", BUFSIZ); |