cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Patch to get ip address last requested

From: Gisle Vanem <giva_at_bgnett.no>
Date: Wed, 20 Jul 2005 18:32:00 +0200

"Jason Pump" wrote:

> + if ( !cachedIp ) return CURLE_FAILED_INIT;
> +
> + struct Curl_multi *multi=(struct Curl_multi *)multi_handle;
> + struct SessionHandle *easy=(struct SessionHandle *)easy_handle;

It may be a good feature you've contribuited. But don't use
C++ features like this. Only gcc supports this AFAIK. Define
variables at top of scope.

--gv
Received on 2005-07-20