Remove the trailing dot from version numbers

This commit is contained in:
cypherpunks 2016-12-15 09:32:13 +00:00 committed by Nick Mathewson
parent df6c475e59
commit 78a13df158
2 changed files with 3 additions and 3 deletions

View file

@ -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(),

View file

@ -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] == '-') {