diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-03-17 06:39:20 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-03-17 06:39:20 -0400 |
commit | 66061a5018bc8a005453226c26ea806a343fe973 (patch) | |
tree | 64b9df46b75dadcde93bd7d681cfb5ccb263caf0 /gpsd.c | |
parent | ea9a3bae9cee3b668e2bd8a6f50238aeacebf230 (diff) | |
download | gpsd-66061a5018bc8a005453226c26ea806a343fe973.tar.gz |
Attribute typo fix, and bring the manual in sync.
No, we're not going to ship with "time" everywhere except one place in the
POLL response; that's a bug. It will either be "time" or "timestamp"
everywhere.
Diffstat (limited to 'gpsd.c')
-rw-r--r-- | gpsd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1124,7 +1124,7 @@ static void handle_request(struct subscriber_t *sub, if ((devp->observed & GPS_TYPEMASK) != 0) active++; (void)snprintf(reply, replylen, - "{\"class\":\"POLL\",\"timestamp\":\"%s\",\"active\":%d,\"fixes\":[", + "{\"class\":\"POLL\",\"time\":\"%s\",\"active\":%d,\"fixes\":[", unix_to_iso8601(timestamp(), tbuf, sizeof(tbuf)), active); for (devp = devices; devp < devices + MAXDEVICES; devp++) { if (allocated_device(devp) && subscribed(sub, devp)) { |