diff options
author | Michal Marek <mmarek@suse.cz> | 2009-07-15 11:49:12 +0000 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2009-07-15 11:49:12 +0000 |
commit | 08d95bff5e919a59f91417af091a34cea6004e3d (patch) | |
tree | 01a984b9b99615c8ec6b50a36885545fff5ad630 | |
parent | b476530755182f8fa19c1bccde1ea9c04c65454d (diff) |
- Changed the description of CURLINFO_OS_ERRNO to make it clear that the
errno is not reset on success.
-rw-r--r-- | CHANGES | 4 | ||||
-rw-r--r-- | docs/libcurl/curl_easy_getinfo.3 | 3 |
2 files changed, 6 insertions, 1 deletions
@@ -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 |