updates: fix user/auto url split

release-v0.4.0.1
moneromooo-monero 7 years ago
parent 14d0e00235
commit ada0e23a84
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

@ -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

Loading…
Cancel
Save