comparison lib/protocols.c @ 463:39d9cf1bf0df

2004-4-14 Brian Masney <masneyb@gftp.org> * lib/protocols.c lib/rfc959.c src/gtk/transfer.c - AMD64 fixes
author masneyb
date Fri, 16 Apr 2004 02:11:22 +0000
parents 075f89b4395c
children 2ad1916dc611
comparison
equal deleted inserted replaced
462:d6fb15d110c9 463:39d9cf1bf0df
1946 { 1946 {
1947 char *connect_host, *disphost; 1947 char *connect_host, *disphost;
1948 int port, sock; 1948 int port, sock;
1949 #if defined (HAVE_GETADDRINFO) && defined (HAVE_GAI_STRERROR) 1949 #if defined (HAVE_GETADDRINFO) && defined (HAVE_GAI_STRERROR)
1950 struct addrinfo hints, *res; 1950 struct addrinfo hints, *res;
1951 int errnum, enable_ipv6; 1951 intptr_t enable_ipv6;
1952 char serv[8]; 1952 char serv[8];
1953 int errnum;
1953 1954
1954 if ((request->use_proxy = gftp_need_proxy (request, service, 1955 if ((request->use_proxy = gftp_need_proxy (request, service,
1955 proxy_hostname, proxy_port)) < 0) 1956 proxy_hostname, proxy_port)) < 0)
1956 return (request->use_proxy); 1957 return (request->use_proxy);
1957 else if (request->use_proxy == 1) 1958 else if (request->use_proxy == 1)