aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-02-22 13:04:07 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-02-22 13:04:07 +0000
commitada0e23a84f728477bc4dfe4b0ee92d936a9e983 (patch)
tree62e4aab945483f6285c7b117a5bf4b1c52b43472 /src/common
parentwallet2_api: add updates check api (diff)
downloadmonero-ada0e23a84f728477bc4dfe4b0ee92d936a9e983.tar.xz
updates: fix user/auto url split
Diffstat (limited to 'src/common')
-rw-r--r--src/common/updates.cpp2
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