cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

Re: rfc: curl_easy_setopt() typechecker

From: Jamie Lokier <jamie_at_shareable.org>
Date: Mon, 25 Feb 2008 13:02:53 +0000

Michal Marek wrote:
> - The CURLOPT_SSLENGINE_DEFAULT option doesn't take any argument. This
> means that completely valid code using CURLOPT_SSLENGINE_DEFAULT can
> break due to the three-arg macro. OTOH it shouldn't be too hard to
> pass a dummy option argument. Also, googling for code possibly
> affected by this [3], I only found one project (among open source
> code, that is).

Since you're dependent on a modern GCC (or GCC-compatible compiler),
you can assume that vararg macros are supported, so this is fixable -
and you could even typecheck that no argument is supplied for this
option :-)

-- Jamie
Received on 2008-02-25

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET