cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl/src main.c,1.293,1.294

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Mon, 13 Dec 2004 20:15:44 +0100 (CET)

On Mon, 13 Dec 2004, Gisle Vanem wrote:

>> + if (config->list_engines) {
>> + const struct curl_slist *engines = NULL;
>> +
>> + curl_easy_getinfo(curl, CURLINFO_SSL_ENGINES, &engines);
>
> Hm, maybe all this should be rewritten to be single dereference?
> const struct curl_slist engines;
> curl_easy_getinfo(curl, CURLINFO_SSL_ENGINES, &engines);

I prefer the first way (which you committed). It is more in line with what we
already provide for the other data types, imho.

But I didn't see any documentation commits for the new option and error code!
;-)

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-12-13