Date: Sun, 29 Feb 2004 20:21:52 +0100 (CET)
On Sat, 28 Feb 2004, Peter Miller wrote:
> However, I missed the absence of a strerror(3) equivalent, and wrote one for
> use within Aegis. The problem is that it keeps going stale as more values
> are added to the CURLcode enum. So I thought I'd contribute the code to
> cURL, and when the authors extend the enum, they can extend the function.
Why is a strerror() equivalent better than simply using the
CURLOPT_ERRORBUFFER option? The latter is even more than simply a translation
of the error code, it can also provide additional info from the particular
situaion that caused the problem this time.
-- Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/ [[ Do not send mails to this email address. They won't reach me. ]]Received on 2004-02-29