From: Holger Schemel Date: Wed, 5 May 2021 08:50:23 +0000 (+0200) Subject: added using hostname for high score server from setup file X-Git-Tag: 4.3.0.0~162 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=936fb8234557301d8c2b01f0e8cf9613583e0500;p=rocksndiamonds.git added using hostname for high score server from setup file --- diff --git a/src/files.c b/src/files.c index d5118422..dafea371 100644 --- a/src/files.c +++ b/src/files.c @@ -8929,7 +8929,7 @@ static void DownloadServerScoreToCacheExt(struct HttpRequest *request, struct HttpResponse *response, int nr) { - request->hostname = API_SERVER_HOSTNAME; + request->hostname = setup.api_server_hostname; request->port = API_SERVER_PORT; request->method = API_SERVER_METHOD; request->uri = API_SERVER_URI_GET; @@ -9162,7 +9162,7 @@ static void UploadScoreToServerExt(struct HttpRequest *request, { struct ScoreEntry *score_entry = &scores.entry[scores.last_added]; - request->hostname = API_SERVER_HOSTNAME; + request->hostname = setup.api_server_hostname; request->port = API_SERVER_PORT; request->method = API_SERVER_METHOD; request->uri = API_SERVER_URI_ADD;