diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-05-11 18:06:12 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-05-11 18:06:12 -0400 |
commit | 31eb73f88e858d4dedceb4a748cab5c068896036 (patch) | |
tree | d2c42035c1c70778772ad84424fd78dbb56858f4 /src/or/router.c | |
parent | a2f0e7a65bb2397087ce92cf23149686185de8e9 (diff) | |
download | tor-31eb73f88e858d4dedceb4a748cab5c068896036.tar.gz tor-31eb73f88e858d4dedceb4a748cab5c068896036.zip |
Do not publish the "git-XXX" tag in server descriptors
Instead, allow packagers to put a 'TOR_BUILD_TAG' field in the
server descriptor to indicate a platform-specific value, if they
need to. (According to weasel, this was his use for the git- tag
previously.)
This is part of 2988
Diffstat (limited to 'src/or/router.c')
-rw-r--r-- | src/or/router.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/router.c b/src/or/router.c index 4468c7b26a..a967f0dc4b 100644 --- a/src/or/router.c +++ b/src/or/router.c @@ -1949,7 +1949,7 @@ router_guess_address_from_dir_headers(uint32_t *guess) void get_platform_str(char *platform, size_t len) { - tor_snprintf(platform, len, "Tor %s on %s", get_version(), get_uname()); + tor_snprintf(platform, len, "Tor %s on %s", get_short_version(), get_uname()); } /* XXX need to audit this thing and count fenceposts. maybe |