comparison lib/gftp.h @ 641:efe90b739e98

2004-12-12 Brian Masney <masneyb@gftp.org> * lib/gftp.h lib/protocols.c (gftp_connect_server) - if getaddrinfo() is not defined in the system, save the current index of the host that we are connected to
author masneyb
date Sun, 12 Dec 2004 11:52:17 +0000
parents 43a0556c994f
children eaede7f6c2f8
comparison
equal deleted inserted replaced
640:cad45ebbc520 641:efe90b739e98
384 #if defined (HAVE_GETADDRINFO) && defined (HAVE_GAI_STRERROR) 384 #if defined (HAVE_GETADDRINFO) && defined (HAVE_GAI_STRERROR)
385 struct addrinfo *hostp, 385 struct addrinfo *hostp,
386 *current_hostp; 386 *current_hostp;
387 #else 387 #else
388 struct hostent host, *hostp; 388 struct hostent host, *hostp;
389 int curhost;
389 #endif 390 #endif
390 391
391 int ai_family; 392 int ai_family;
392 int server_type; /* The type of server we are connected to. 393 int server_type; /* The type of server we are connected to.
393 See GFTP_DIRTYPE_* above */ 394 See GFTP_DIRTYPE_* above */