From 08d95bff5e919a59f91417af091a34cea6004e3d Mon Sep 17 00:00:00 2001 From: Michal Marek Date: Wed, 15 Jul 2009 11:49:12 +0000 Subject: [PATCH] - Changed the description of CURLINFO_OS_ERRNO to make it clear that the errno is not reset on success. --- CHANGES | 4 ++++ docs/libcurl/curl_easy_getinfo.3 | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 3646b07..507cf73 100644 --- a/CHANGES +++ b/CHANGES @@ -6,6 +6,10 @@ Changelog +Michal Marek (15 Jul 2009) +- Changed the description of CURLINFO_OS_ERRNO to make it clear that the + errno is not reset on success. + Guenter Knauf (14 Jul 2009) - renamed generated config.h to curl_config.h to avoid any future clashes with config.h from other projects. diff --git a/docs/libcurl/curl_easy_getinfo.3 b/docs/libcurl/curl_easy_getinfo.3 index 29f0f44..e227f07 100644 --- a/docs/libcurl/curl_easy_getinfo.3 +++ b/docs/libcurl/curl_easy_getinfo.3 @@ -159,7 +159,8 @@ Pass a pointer to a long to receive a bitmask indicating the authentication method(s) available for your proxy authentication. (Added in 7.10.8) .IP CURLINFO_OS_ERRNO Pass a pointer to a long to receive the errno variable from a connect failure. -(Added in 7.12.2) +Note that the value is only set on failure, it is not reset upon a +successfull operation. (Added in 7.12.2) .IP CURLINFO_NUM_CONNECTS Pass a pointer to a long to receive how many new connections libcurl had to create to achieve the previous transfer (only the successful connects are -- 2.7.4