mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08:00
strerror() => curl_easy_strerror()
This commit is contained in:
parent
c8da2980ed
commit
f39380b1ac
@ -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…
Reference in New Issue
Block a user