Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 17 lines 1.0 kB view raw
1diff --color -urpN obs-vertical-canvas.bak/file-updater.c obs-vertical-canvas/file-updater.c 2--- obs-vertical-canvas.bak/file-updater.c 2025-07-18 18:32:13.239718611 -0400 3+++ obs-vertical-canvas/file-updater.c 2025-07-18 18:32:30.732020377 -0400 4@@ -67,10 +67,10 @@ static bool do_http_request(struct updat 5 curl_easy_setopt(info->curl, CURLOPT_ERRORBUFFER, info->error); 6 curl_easy_setopt(info->curl, CURLOPT_WRITEFUNCTION, http_write); 7 curl_easy_setopt(info->curl, CURLOPT_WRITEDATA, info); 8- curl_easy_setopt(info->curl, CURLOPT_FAILONERROR, true); 9- curl_easy_setopt(info->curl, CURLOPT_NOSIGNAL, 1); 10+ curl_easy_setopt(info->curl, CURLOPT_FAILONERROR, 1L); 11+ curl_easy_setopt(info->curl, CURLOPT_NOSIGNAL, 1L); 12 curl_easy_setopt(info->curl, CURLOPT_ACCEPT_ENCODING, ""); 13- curl_easy_setopt(info->curl, CURLOPT_SSL_OPTIONS, CURLSSLOPT_REVOKE_BEST_EFFORT); 14+ curl_easy_setopt(info->curl, CURLOPT_SSL_OPTIONS, (long)CURLSSLOPT_REVOKE_BEST_EFFORT); 15 16 code = curl_easy_perform(info->curl); 17 if (code != CURLE_OK) {