summaryrefslogtreecommitdiff
path: root/gpxlogger.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-06-08 14:17:15 -0400
committerEric S. Raymond <esr@thyrsus.com>2010-06-08 14:17:15 -0400
commitb7336b07a2b2e554d950c999b9e64b2823d07139 (patch)
tree8ef53c0fce5c1f0a2f3a382b784eac63a30db98d /gpxlogger.c
parent423df1ff3a2201c5b0e9d90359464b2c9fa11575 (diff)
downloadgpsd-b7336b07a2b2e554d950c999b9e64b2823d07139.tar.gz
Introduce the gps_read() entry point and use it internally.
This is as per the roadmap. Clients can still use gps_poll(). All regression tests pass. Clients run correectly live.
Diffstat (limited to 'gpxlogger.c')
-rw-r--r--gpxlogger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpxlogger.c b/gpxlogger.c
index 5e079749..b9cb5781 100644
--- a/gpxlogger.c
+++ b/gpxlogger.c
@@ -330,7 +330,7 @@ static int socket_mainloop(void)
(void)fprintf(stderr, "%s\n", strerror(errno));
break;
} else if (data)
- (void)gps_poll(&gpsdata);
+ (void)gps_read(&gpsdata);
}
(void)gps_close(&gpsdata);
return 0;