diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-05-22 15:48:46 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-05-22 15:48:46 +0000 |
commit | e935d73b34094a88dbd997769be1c52b633fc3d3 (patch) | |
tree | b4ce641936e6998987b887e94374b761bd9f6d2b /src/or/router.c | |
parent | 4ec5e139c8442b321ef9b58684da547ea0388261 (diff) | |
download | tor-e935d73b34094a88dbd997769be1c52b633fc3d3.tar.gz tor-e935d73b34094a88dbd997769be1c52b633fc3d3.zip |
r12852@catbus: nickm | 2007-05-22 11:00:27 -0400
Use svn revisions consistently throughout all log messages.
svn:r10291
Diffstat (limited to 'src/or/router.c')
-rw-r--r-- | src/or/router.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/or/router.c b/src/or/router.c index 796a49d8f7..826ccc0eb6 100644 --- a/src/or/router.c +++ b/src/or/router.c @@ -1249,17 +1249,7 @@ extern const char tor_svn_revision[]; /* from main.c */ void get_platform_str(char *platform, size_t len) { - char svn_version_buf[128]; - if (!strcmpend(VERSION, "-dev") && strlen(tor_svn_revision)) { - tor_snprintf(svn_version_buf, sizeof(svn_version_buf), " (r%s)", - tor_svn_revision); - } else { - svn_version_buf[0] = 0; - } - - tor_snprintf(platform, len, "Tor %s%s on %s", - VERSION, svn_version_buf, get_uname()); - return; + tor_snprintf(platform, len, "Tor %s on %s", get_version(), get_uname()); } /* XXX need to audit this thing and count fenceposts. maybe |