updates: fix user/auto url split

This commit is contained in:
moneromooo-monero 2017-02-22 13:04:07 +00:00
parent 14d0e00235
commit ada0e23a84
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

View File

@ -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) 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 #ifdef _WIN32
static const char extension[] = ".zip"; static const char extension[] = ".zip";
#else #else