curl-library
Re: CURLcode_strerror
From: codemastr <codemstr_at_ptd.net>
Date: Fri, 5 Mar 2004 15:04:30 -0500
Date: Fri, 5 Mar 2004 15:04:30 -0500
> I would prefer to see one unified curl_strerror() function:
>
> char *curl_strerror(int errorcode, int errortype);
That could work, however, is it 100% legal to convert from enum -> int? I
could swear that there was a compiler that complained about such things, but
I could be mistaken.
Also, were any decisions made with regard to i18n? Meaning, should gettext
be used by this function to allow for translation into other languages?
Dominick Meglio
Received on 2004-03-05