diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-08-18 07:38:23 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-08-18 07:38:23 +0000 |
commit | 22f2dbd5af5ecfcdcd3ce71cb2b6d714887d17cd (patch) | |
tree | 10675b3dd9255abb6aac1e5176a75804eb83cb55 | |
parent | 6ffed75ea41f295fc7f7fbf66d7679de90b21db7 (diff) | |
download | gpsd-22f2dbd5af5ecfcdcd3ce71cb2b6d714887d17cd.tar.gz |
Delimit a version report field properly.
-rw-r--r-- | gpsd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1742,7 +1742,7 @@ static void handle_newstyle_request(struct subscriber_t *sub, } } else if (strncmp(buf, "VERSION;", 8) == 0) { (void)snprintf(reply+strlen(reply), replylen-strlen(reply), - "{\"class\":\"VERSION\",\"version\":\"" VERSION "\",\"rev\":$Id$,\"api_major\":%d,\"api_minor\":%d}", + "{\"class\":\"VERSION\",\"version\":\"" VERSION "\",\"rev\":\"$Id$\",\"api_major\":%d,\"api_minor\":%d}", GPSD_API_MAJOR_VERSION, GPSD_API_MINOR_VERSION); buf += 8; } else { |