summaryrefslogtreecommitdiff
path: root/gpspipe.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-12-07 00:41:19 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-12-07 00:41:19 +0000
commit29c936d311e80a80299b01f833f31dc2256293b0 (patch)
treec523ecfa1d91b3f1abaf319ad799d8693ec28364 /gpspipe.c
parentd3d58fdde00ec35301a57e426df934638def61c4 (diff)
downloadgpsd-29c936d311e80a80299b01f833f31dc2256293b0.tar.gz
Cruft removal.
Diffstat (limited to 'gpspipe.c')
-rw-r--r--gpspipe.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gpspipe.c b/gpspipe.c
index c648c0b3..79e44698 100644
--- a/gpspipe.c
+++ b/gpspipe.c
@@ -301,9 +301,8 @@ int main( int argc, char **argv)
if (vflag)
spinner(vflag, l++);
- /* reading directly from the socket avoides decode overhead */
- flags |= WATCH_DEVICE;
+ /* reading directly from the socket avoides decode overhead */
readbytes = (int)read(gpsdata->gps_fd, buf, sizeof(buf));
if (readbytes > 0) {
for (i = 0 ; i < readbytes ; i++) {