summaryrefslogtreecommitdiff
path: root/libgpsd_core.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-08-24 15:10:39 -0400
committerEric S. Raymond <esr@thyrsus.com>2011-08-24 15:10:39 -0400
commit1d24b649febb8115cec4b35e1108a0556b755732 (patch)
treec7bd741b02c7f360044b1c0b616f15add6d02d5e /libgpsd_core.c
parent5e73bff6263416ac797dce5efd78fc075d0c4832 (diff)
downloadgpsd-1d24b649febb8115cec4b35e1108a0556b755732.tar.gz
Fix problems with reconfigure=no and netfeed=no builds.
Diffstat (limited to 'libgpsd_core.c')
-rw-r--r--libgpsd_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgpsd_core.c b/libgpsd_core.c
index 9fe3d42a..ff364f2e 100644
--- a/libgpsd_core.c
+++ b/libgpsd_core.c
@@ -259,7 +259,7 @@ int gpsd_open(struct gps_device_t *session)
}
#endif /* NETFEED_ENABLE */
#ifdef PASSTHROUGH_ENABLE
- else if (strncmp(session->gpsdata.dev.path, "gpsd://", 7) == 0) {
+ if (strncmp(session->gpsdata.dev.path, "gpsd://", 7) == 0) {
/*@-branchstate -nullpass@*/
char server[GPS_PATH_MAX], *port;
socket_t dsock;