strerror() => curl_easy_strerror()

This commit is contained in:
Daniel Stenberg 2009-11-02 21:20:45 +00:00
parent c8da2980ed
commit f39380b1ac

View File

@ -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.");