From a211e0f8e86649fa63dead9f8290805245198257 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 23 Sep 2011 04:00:49 -0400 Subject: If the profiling code isn't compiled in, timing policy bit must be forced off. --- gpsd.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gpsd.c') diff --git a/gpsd.c b/gpsd.c index 0ea6cf33..fdcf622e 100644 --- a/gpsd.c +++ b/gpsd.c @@ -1034,6 +1034,9 @@ static void handle_request(struct subscriber_t *sub, ++buf; } else { int status = json_watch_read(buf + 1, &sub->policy, &end); +#ifndef TIMING_ENABLE + sub->policy.timing = false; +#endif /* TIMING_ENABLE */ if (end == NULL) buf += strlen(buf); else { -- cgit v1.2.1