cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: AIX 5100-06 build failures!

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Mon, 10 Oct 2005 20:37:14 +0200 (CEST)

On Mon, 10 Oct 2005, Tor Arntsen wrote:

>> It looks like getaddrinfo() on this host fails if given port number 0 (which
>> the current FTP code does).

> You're correct, it fails with port 0 (>0 always works). I wonder if in this
> case you could call with NULL as the second parameter.

Yes, I actually think that is the proper way to do it anyway so fixing this
should be OK on other systems too. Anyway I just comitted it so I guess we'll
soon find out...

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2005-10-10