From f39380b1ac3d32c754d891262fd177531a74055f Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 2 Nov 2009 21:20:45 +0000 Subject: strerror() => curl_easy_strerror() --- docs/examples/sendrecv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/examples/sendrecv.c b/docs/examples/sendrecv.c index 45bae652a..a6853c326 100644 --- a/docs/examples/sendrecv.c +++ b/docs/examples/sendrecv.c @@ -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."); -- cgit v1.2.3