cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: CURLOPT_IPRESOLVE problem

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Fri, 19 Dec 2003 09:09:39 +0100 (CET)

On Thu, 18 Dec 2003, Andrés García wrote:

> Anything I am doing wrong?

Uh, try applying this first! ;-)

diff -u -r1.322 url.c
--- url.c 19 Dec 2003 08:03:15 -0000 1.322
+++ url.c 19 Dec 2003 08:09:01 -0000
@@ -1258,6 +1258,10 @@
     data->set.ftp_ssl = va_arg(param, long);
     break;

+ case CURLOPT_IPRESOLVE:
+ data->set.ip_version = va_arg(param, long);
+ break;
+
   default:
     /* unknown tag and its companion, just ignore: */
     return CURLE_FAILED_INIT; /* correct this */

-- 
    Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/
   [[ Do not send mails to this email address. They won't reach me. ]]
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op%cck
Received on 2003-12-19