mirror of
https://github.com/curl/curl.git
synced 2026-08-05 12:56:16 +03:00
examples/complicated: fix warnings, bump deprecated callback, tidy up
Also: make them C89, add consts. Closes #15785
This commit is contained in:
parent
fa0ccd9f1f
commit
37fb50a858
15 changed files with 199 additions and 132 deletions
|
|
@ -47,7 +47,8 @@ static size_t wrfu(void *ptr, size_t size, size_t nmemb, void *stream)
|
|||
(void)stream;
|
||||
(void)ptr;
|
||||
|
||||
res = curl_easy_getinfo(curl, CURLINFO_TLS_SESSION, &info);
|
||||
res = CURL_IGNORE_DEPRECATION(
|
||||
curl_easy_getinfo(curl, CURLINFO_TLS_SESSION, &info));
|
||||
|
||||
if(!res) {
|
||||
switch(info->backend) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue