Fixed sakisafecli to work with latest commit

master v2.4.1
Barrington 2023-02-15 12:57:18 +01:00
parent e62bcfa9d8
commit a804518ef6
Signed by: svragv
GPG Key ID: B39C0BCEE94A4A89
1 changed files with 1 additions and 0 deletions

View File

@ -159,6 +159,7 @@ main(int argc, char **argv)
}
/* curl options */
curl_easy_setopt(easy_handle, CURLOPT_USERAGENT, "curl");
curl_easy_setopt(easy_handle, CURLOPT_WRITEFUNCTION, write_data);
curl_easy_setopt(easy_handle, CURLOPT_WRITEDATA, buffer);