diff options
author | Gary E. Miller <gem@rellim.com> | 2018-10-30 18:50:41 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2018-10-30 18:50:41 -0700 |
commit | 2c7d87f4ef0eff8c872ffb090ed920ba6d135e58 (patch) | |
tree | 36a00f42f1b8b6b69f7b096593b81b9758dec131 /libgps_json.c | |
parent | dbfcabf437622979b963471b2f07b4c7b083e4dc (diff) | |
download | gpsd-2c7d87f4ef0eff8c872ffb090ed920ba6d135e58.tar.gz |
gps.h: Add RAW_SET flag. Now clients can tell if they get RAW data.
Diffstat (limited to 'libgps_json.c')
-rw-r--r-- | libgps_json.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgps_json.c b/libgps_json.c index 4f0c61e9..ae3f2dc0 100644 --- a/libgps_json.c +++ b/libgps_json.c @@ -661,7 +661,7 @@ int libgps_json_unpack(const char *buf, status = json_raw_read(buf, gpsdata, end); if (status == 0) { gpsdata->set &= ~UNION_SET; - gpsdata->set |= RAW_IS; + gpsdata->set |= RAW_SET; } return status; } else |