From 66e1a41db58c6374fc92a5dc6ca12a5367a15355 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 28 Mar 2011 05:39:09 -0400 Subject: The shm transport finallly works through gps_open(). --- libgps_core.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libgps_core.c') diff --git a/libgps_core.c b/libgps_core.c index a326f4a3..c35ccbc5 100644 --- a/libgps_core.c +++ b/libgps_core.c @@ -112,8 +112,7 @@ int gps_read(struct gps_data_t *gpsdata) #ifdef SHM_EXPORT_ENABLE if (gpsdata->gps_fd == -1) { - gps_shm_read(gpsdata); - status = 0; + status = gps_shm_read(gpsdata); } #endif /* SHM_EXPORT_ENABLE */ -- cgit v1.2.1