curl-library
Re: CURLcode_strerror
From: Peter Miller <millerp_at_canb.auug.org.au>
Date: Wed, 10 Mar 2004 11:21:03 +1100
Received on 2004-03-10
Date: Wed, 10 Mar 2004 11:21:03 +1100
On Fri, 2004-03-05 at 23:21, Daniel Stenberg wrote:
> I would prefer to see one unified curl_strerror() function:
>
> char *curl_strerror(int errorcode, int errortype);
This isn't type-safe.
It denies the compiler the opportunity to tell you that you have made a
mistake.
OR there should only be one error enum for all of libcurl, then you only
ever need one type-safe function.
-- Regards Peter Miller <millerp_at_canb.auug.org.au> /\/\* http://www.canb.auug.org.au/~millerp/ PGP public key ID: 1024D/D0EDB64D fingerprint = AD0A C5DF C426 4F03 5D53 2BDB 18D8 A4E2 D0ED B64D See http://www.keyserver.net or any PGP keyserver for public key.
- application/pgp-signature attachment: This is a digitally signed message part