summaryrefslogtreecommitdiff
path: root/libgps_core.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2015-02-02 18:09:32 -0500
committerEric S. Raymond <esr@thyrsus.com>2015-02-02 18:11:22 -0500
commitb73abff012abacf770a9f59fb054b721e2b9e336 (patch)
treeef0fa6b7fcea597905e61bea9ea3403b01f9e151 /libgps_core.c
parent7aed6d1d79289ac2bf15e4509d5f79a84b0dc177 (diff)
downloadgpsd-b73abff012abacf770a9f59fb054b721e2b9e336.tar.gz
Revert the change abolishing the "pps" policy flag, it broke gpsmon client mode.
All regression tests pass.
Diffstat (limited to 'libgps_core.c')
-rw-r--r--libgps_core.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libgps_core.c b/libgps_core.c
index b16902c1..637dd204 100644
--- a/libgps_core.c
+++ b/libgps_core.c
@@ -337,13 +337,14 @@ void libgps_dump_state(struct gps_data_t *collect)
collect->version.proto_minor);
if (collect->set & POLICY_SET)
(void)fprintf(debugfp,
- "POLICY: watcher=%s nmea=%s raw=%d scaled=%s timing=%s, split24=%s devpath=%s\n",
+ "POLICY: watcher=%s nmea=%s raw=%d scaled=%s timing=%s, split24=%s pps=%s, devpath=%s\n",
collect->policy.watcher ? "true" : "false",
collect->policy.nmea ? "true" : "false",
collect->policy.raw,
collect->policy.scaled ? "true" : "false",
collect->policy.timing ? "true" : "false",
collect->policy.split24 ? "true" : "false",
+ collect->policy.pps ? "true" : "false",
collect->policy.devpath);
if (collect->set & SATELLITE_SET) {
struct satellite_t *sp;