aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/sendrecv.c
diff options
context:
space:
mode:
Diffstat (limited to 'docs/examples/sendrecv.c')
-rw-r--r--docs/examples/sendrecv.c4
1 files changed, 2 insertions, 2 deletions
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.");