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: yangtse: curl/lib sendf.c,1.125,1.126 sendf.h,1.33,1.34

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Tue, 27 Mar 2007 07:43:06 -0700

On Tue, Mar 27, 2007 at 11:53:02AM +0100, Jamie Lokier wrote:
> Why not this, to optimise away the function call in most cases?
>
> #define infof if (1) {} else Curl_infof

This is going to give "code not reachable" warnings on some compilers, and
will still leave the strings in the binaries on others.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2007-03-27

These mail archives are generated by hypermail.

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

File upload with ASP.NET