mirror of
https://github.com/curl/curl.git
synced 2026-08-06 11:16:15 +03:00
strerror() => curl_easy_strerror()
This commit is contained in:
parent
c8da2980ed
commit
f39380b1ac
1 changed files with 2 additions and 2 deletions
|
|
@ -72,7 +72,7 @@ int main(void)
|
|||
|
||||
if(CURLE_OK != res)
|
||||
{
|
||||
printf("Error: %s\n", strerror(res));
|
||||
printf("Error: %s\n", curl_easy_strerror(res));
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
@ -90,7 +90,7 @@ int main(void)
|
|||
|
||||
if(CURLE_OK != res)
|
||||
{
|
||||
printf("Error: %s\n", strerror(res));
|
||||
printf("Error: %s\n", curl_easy_strerror(res));
|
||||
return 1;
|
||||
}
|
||||
puts("Reading response.");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue