Remove an extra space in backtrace version string

This commit is contained in:
cypherpunks 2015-12-18 12:45:51 +01:00 committed by Nick Mathewson
parent 4c55ccbe95
commit 59e5bf7e2a

View File

@ -215,9 +215,10 @@ int
configure_backtrace_handler(const char *tor_version)
{
tor_free(bt_version);
if (!tor_version)
tor_version = "";
if (tor_version)
tor_asprintf(&bt_version, "Tor %s", tor_version);
else
tor_asprintf(&bt_version, "Tor");
return install_bt_handler();
}