aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2009-11-02 21:20:45 +0000
committerDaniel Stenberg <daniel@haxx.se>2009-11-02 21:20:45 +0000
commitf39380b1ac3d32c754d891262fd177531a74055f (patch)
tree1da78ab52483fc1bb3a97c7807f8faaacbbb7453 /docs
parentc8da2980ed4e97a109e26eb51d650a1317c41fcc (diff)
strerror() => curl_easy_strerror()
Diffstat (limited to 'docs')
-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.");