From: Michal Marek Date: Wed, 15 Jul 2009 11:49:12 +0000 (+0000) Subject: - Changed the description of CURLINFO_OS_ERRNO to make it clear that the X-Git-Tag: curl-7_19_6~63 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=08d95bff5e919a59f91417af091a34cea6004e3d;p=curl - Changed the description of CURLINFO_OS_ERRNO to make it clear that the errno is not reset on success. --- diff --git a/CHANGES b/CHANGES index 3646b0752..507cf7300 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 29f0f44ad..e227f0790 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