Fixed sakisafecli to work with latest commit

This commit is contained in:
(≧◡≦) 2023-02-15 12:57:18 +01:00
parent e62bcfa9d8
commit a804518ef6
No known key found for this signature in database
GPG key ID: B39C0BCEE94A4A89

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);