aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcypherpunks <cypherpunks@torproject.org>2016-12-15 09:32:13 +0000
committerNick Mathewson <nickm@torproject.org>2016-12-16 10:41:36 -0500
commit78a13df15842e8ab262e17825160386fadb77056 (patch)
treed715338979a7ce64d2c5062ab95ae7a58cb105aa
parentdf6c475e59d24a1e81db846e8fd2343050b6b583 (diff)
downloadtor-78a13df15842e8ab262e17825160386fadb77056.tar.gz
tor-78a13df15842e8ab262e17825160386fadb77056.zip
Remove the trailing dot from version numbers
-rw-r--r--src/or/config.c4
-rw-r--r--src/tools/tor-resolve.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/or/config.c b/src/or/config.c
index c68f83ab69..de7b352844 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -4888,12 +4888,12 @@ options_init_from_torrc(int argc, char **argv)
}
if (config_line_find(cmdline_only_options, "--version")) {
- printf("Tor version %s.\n",get_version());
+ printf("Tor version %s\n", get_version());
exit(0);
}
if (config_line_find(cmdline_only_options, "--library-versions")) {
- printf("Tor version %s. \n", get_version());
+ printf("Tor version %s\n", get_version());
printf("Library versions\tCompiled\t\tRuntime\n");
printf("Libevent\t\t%-15s\t\t%s\n",
tor_libevent_get_header_version_str(),
diff --git a/src/tools/tor-resolve.c b/src/tools/tor-resolve.c
index 29f85c4d17..eca7640e27 100644
--- a/src/tools/tor-resolve.c
+++ b/src/tools/tor-resolve.c
@@ -355,7 +355,7 @@ main(int argc, char **argv)
usage();
if (!strcmp(arg[0],"--version")) {
- printf("Tor version %s.\n",VERSION);
+ printf("Tor version %s\n",VERSION);
return 0;
}
while (n_args && *arg[0] == '-') {