curl-library
Re: [ curl-Bugs-852899 ] Socks5 fails in Curl_resolv
From: Vincent BRONNER <vbr_at_sxb.bsf.alcatel.fr>
Date: Wed, 14 Jan 2004 09:55:28 +0100
Date: Wed, 14 Jan 2004 09:55:28 +0100
> hostip.c:348
> if(!dns) {
> /* returned failure, bail out nicely */
> Curl_freeaddrinfo(addr);
> }
> + else
> + rc = 0;
I think these 2 last lines should also be added at line 354 (7.10.8
source code), if the "if (!dns)" at line 317 fails.
No ?
Vincent
-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
Received on 2004-01-14