diff options
author | Daniel Stenberg <daniel@haxx.se> | 2009-11-02 21:20:45 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2009-11-02 21:20:45 +0000 |
commit | f39380b1ac3d32c754d891262fd177531a74055f (patch) | |
tree | 1da78ab52483fc1bb3a97c7807f8faaacbbb7453 /docs | |
parent | c8da2980ed4e97a109e26eb51d650a1317c41fcc (diff) |
strerror() => curl_easy_strerror()
Diffstat (limited to 'docs')
-rw-r--r-- | docs/examples/sendrecv.c | 4 |
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."); |