cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Should check for CURLE_COULDNT_RESOLVE_HOST

From: Bjorn Reese <breese_at_mail1.stofanet.dk>
Date: 15 Nov 2003 13:59:01 +0100

On Sat, 2003-11-15 at 10:52, Daniel Stenberg wrote:

> I don't see how that will happen, as this function call and possible return
> -1, is only made if addr is NULL (and wait is TRUE, indicating that we are
> awating an asynchronous name lookup to finish).

You are right. I missed the "if(!addr)"

-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
Received on 2003-11-15