aboutsummaryrefslogtreecommitdiffstats
path: root/core/qthelper.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2021-04-18 16:28:25 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2021-04-19 12:51:01 -0700
commit9620d1182885bb8ac0dd05eeaf8d4e108461cfab (patch)
tree7a019ad76434becd161e07258ce30eaeb870a0d6 /core/qthelper.h
parent766f297bc4c01b81ee11ceb724460240403068a1 (diff)
downloadsubsurface-9620d1182885bb8ac0dd05eeaf8d4e108461cfab.tar.gz
cloudstorage: update remote if cloud server changes
If we can't reach the cloud server in the URL (which might come from the settings or be passed in by the user), we try the alternative server(s). If we end up changing servers, we need to update the remote that we have already parsed from the URL. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/qthelper.h')
-rw-r--r--core/qthelper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/qthelper.h b/core/qthelper.h
index 1fc2e55f3..cd28e1705 100644
--- a/core/qthelper.h
+++ b/core/qthelper.h
@@ -138,7 +138,7 @@ extern "C" {
char *printGPSCoordsC(const location_t *loc);
bool getProxyString(char **buffer);
-bool canReachCloudServer();
+bool canReachCloudServer(const char **remote);
void updateWindowTitle();
void subsurface_mkdir(const char *dir);
char *get_file_name(const char *fileName);