diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-06-15 02:13:30 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-06-15 02:13:30 -0400 |
commit | 43ea138f243d0cc3b64fe81dc96298f64e1be4c5 (patch) | |
tree | 714c58995e34eac6227518a0d56338f38a210256 /libgpsd_core.c | |
parent | 53a3cfe51a059166c49540857eb3a8f00f2e6f66 (diff) | |
download | gpsd-43ea138f243d0cc3b64fe81dc96298f64e1be4c5.tar.gz |
Bug fixed, all regression tests now pass with PASSTHROUGH_ENABLED.
Diffstat (limited to 'libgpsd_core.c')
-rw-r--r-- | libgpsd_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgpsd_core.c b/libgpsd_core.c index 8e0373dc..e829634b 100644 --- a/libgpsd_core.c +++ b/libgpsd_core.c @@ -835,7 +835,7 @@ gps_mask_t gpsd_poll(struct gps_device_t *session) if (session->packet.type == COMMENT_PACKET) { gpsd_report (LOG_PROG, "comment, sync lock deferred\n"); #ifdef PASSTHROUGH_ENABLE - } if (session->packet.type == JSON_PACKET) { + } else if (session->packet.type == JSON_PACKET) { gpsd_report (LOG_PROG, "JSON, sync lock deferred\n"); #endif /* PASSTHROUGH_ENABLE */ } else if (session->packet.type > COMMENT_PACKET) { |