[tor-commits] [tor/master] Remove the trailing dot from version numbers

nickm at torproject.org nickm at torproject.org
Fri Dec 16 15:49:44 UTC 2016


commit 78a13df15842e8ab262e17825160386fadb77056
Author: cypherpunks <cypherpunks at torproject.org>
Date:   Thu Dec 15 09:32:13 2016 +0000

    Remove the trailing dot from version numbers
---
 src/or/config.c         | 4 ++--
 src/tools/tor-resolve.c | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/or/config.c b/src/or/config.c
index c68f83a..de7b352 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 29f85c4..eca7640 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] == '-') {





More information about the tor-commits mailing list