From b7336b07a2b2e554d950c999b9e64b2823d07139 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 8 Jun 2010 14:17:15 -0400 Subject: 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. --- gpxlogger.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gpxlogger.c') 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; -- cgit v1.2.1