diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-09-23 04:00:49 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-09-23 04:00:49 -0400 |
commit | a211e0f8e86649fa63dead9f8290805245198257 (patch) | |
tree | 1c4189c25df719b99d9baa6e7a1a2d97afa9e715 /gpsd.c | |
parent | e13757fe9211baae0dcd5171d37a5c79fa14441f (diff) | |
download | gpsd-a211e0f8e86649fa63dead9f8290805245198257.tar.gz |
If the profiling code isn't compiled in, timing policy bit must be forced off.
Diffstat (limited to 'gpsd.c')
-rw-r--r-- | gpsd.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 { |