Path: blob/main/games/alienarena/files/patch-client_cl_updates.c
18160 views
--- client/cl_updates.c 2023-11-12 22:09:46.989672000 -05001+++ client/cl_updates.c 2023-11-12 22:10:10.652785000 -05002@@ -250,14 +250,14 @@3easyhandle = curl_easy_init();45// Set Http version to 1.1, somehow this seems to be needed for the multi-download6- if (curl_easy_setopt(easyhandle, CURLOPT_HTTP_VERSION, (long) CURL_HTTP_VERSION_1_1) != CURLE_OK) return false;7+ if (curl_easy_setopt(easyhandle, CURLOPT_HTTP_VERSION, (long) CURL_HTTP_VERSION_1_1) != CURLE_OK) return;89// Follow redirects to https - but this doesn't seem to be working10- if (curl_easy_setopt(easyhandle, CURLOPT_FOLLOWLOCATION, 1L) != CURLE_OK) return false;11- if (curl_easy_setopt(easyhandle, CURLOPT_MAXREDIRS, 3L) != CURLE_OK) return false;12+ if (curl_easy_setopt(easyhandle, CURLOPT_FOLLOWLOCATION, 1L) != CURLE_OK) return;13+ if (curl_easy_setopt(easyhandle, CURLOPT_MAXREDIRS, 3L) != CURLE_OK) return;1415// Don't verify that the host matches the certificate16- if (curl_easy_setopt(easyhandle, CURLOPT_SSL_VERIFYHOST, 0L) != CURLE_OK) return false;17+ if (curl_easy_setopt(easyhandle, CURLOPT_SSL_VERIFYHOST, 0L) != CURLE_OK) return;1819Com_sprintf(url, sizeof(url), "%s", cl_latest_game_version_url->string);20212223