aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-02-22 15:51:42 +0200
committerRiccardo Spagni <ric@spagni.net>2017-02-22 15:51:42 +0200
commitf50704ec01e8c1848fa8fc8cf3991a116852490e (patch)
tree62e4aab945483f6285c7b117a5bf4b1c52b43472 /src/common
parentMerge pull request #1774 (diff)
parentupdates: fix user/auto url split (diff)
downloadmonero-f50704ec01e8c1848fa8fc8cf3991a116852490e.tar.xz
Merge pull request #1750
ada0e23a updates: fix user/auto url split (moneromooo-monero) 14d0e002 wallet2_api: add updates check api (moneromooo-monero)
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