summaryrefslogtreecommitdiff
path: root/gpsd.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2006-06-07 15:14:20 +0000
committerEric S. Raymond <esr@thyrsus.com>2006-06-07 15:14:20 +0000
commit808f85fe398c3275087c369355ebc8a224e39c2a (patch)
tree0075b79e8199ece60cba6c5d8cff3f94a4c24c5d /gpsd.c
parent5568d76480dab43f3340b0f8fe4f47e1fe1f2a0b (diff)
downloadgpsd-808f85fe398c3275087c369355ebc8a224e39c2a.tar.gz
Full merge of O patch with 14th field enabled. Protocol level bumped to 3.
This requires rebuilding the regression tests.
Diffstat (limited to 'gpsd.c')
-rw-r--r--gpsd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gpsd.c b/gpsd.c
index 4fd951eb..34686f99 100644
--- a/gpsd.c
+++ b/gpsd.c
@@ -800,14 +800,12 @@ static int handle_gpsd_request(int cfd, char *buf, int buflen)
" %5.2f", whoami->device->gpsdata.fix.epc);
else
(void)strcat(phrase, " ?");
-#ifdef FOO
if (whoami->device->gpsdata.fix.mode > 0)
(void)snprintf(phrase+strlen(phrase),
sizeof(phrase)-strlen(phrase),
" %d", whoami->device->gpsdata.fix.mode);
else
(void)strcat(phrase, " ?");
-#endif /* FOO */
}
break;
case 'P':