diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-02-22 13:04:07 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-02-22 13:04:07 +0000 |
commit | ada0e23a84f728477bc4dfe4b0ee92d936a9e983 (patch) | |
tree | 62e4aab945483f6285c7b117a5bf4b1c52b43472 /src/common/updates.cpp | |
parent | wallet2_api: add updates check api (diff) | |
download | monero-ada0e23a84f728477bc4dfe4b0ee92d936a9e983.tar.xz |
updates: fix user/auto url split
Diffstat (limited to '')
-rw-r--r-- | src/common/updates.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/updates.cpp b/src/common/updates.cpp index 8878bb062..5b1acf5fa 100644 --- a/src/common/updates.cpp +++ b/src/common/updates.cpp @@ -97,7 +97,7 @@ namespace tools std::string get_update_url(const std::string &software, const std::string &subdir, const std::string &buildtag, const std::string &version, bool user) { - static const char *base = user ? "https://downloads.getmonero.org/" : "http://updates.getmonero.org/"; + const char *base = user ? "https://downloads.getmonero.org/" : "http://updates.getmonero.org/"; #ifdef _WIN32 static const char extension[] = ".zip"; #else |