From 822577eb422276bb5ec01adfc9cf705bb7c22b46 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Wed, 22 Feb 2017 11:11:45 +0000 Subject: updates: we now have a user URL, and an automatic one So the user can use https, while the automatic does not have to --- src/common/updates.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common/updates.h') diff --git a/src/common/updates.h b/src/common/updates.h index 1a70e06fd..d84b612df 100644 --- a/src/common/updates.h +++ b/src/common/updates.h @@ -33,5 +33,5 @@ namespace tools { bool check_updates(const std::string &software, const std::string &buildtag, bool bestnet, std::string &version, std::string &hash); - std::string get_update_url(const std::string &software, const std::string &subdir, const std::string &buildtag, const std::string &version); + std::string get_update_url(const std::string &software, const std::string &subdir, const std::string &buildtag, const std::string &version, bool user); } -- cgit v1.2.3 From 5901331669f7508362a1f8bd3603b344b5a8a0db Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Wed, 22 Feb 2017 11:19:20 +0000 Subject: updates: remove testnet case It need not be any different --- src/common/updates.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common/updates.h') diff --git a/src/common/updates.h b/src/common/updates.h index d84b612df..e494ed7ac 100644 --- a/src/common/updates.h +++ b/src/common/updates.h @@ -32,6 +32,6 @@ namespace tools { - bool check_updates(const std::string &software, const std::string &buildtag, bool bestnet, std::string &version, std::string &hash); + bool check_updates(const std::string &software, const std::string &buildtag, std::string &version, std::string &hash); std::string get_update_url(const std::string &software, const std::string &subdir, const std::string &buildtag, const std::string &version, bool user); } -- cgit v1.2.3