openbsd-ports/net/lftp/patches/patch-src_Resolver_cc
kevlo 7a8f570db2 update to 3.7.11
ok pea@
2009-04-06 09:17:57 +00:00

12 lines
436 B
Plaintext

--- src/Resolver.cc.orig Tue Jan 27 22:43:12 2009
+++ src/Resolver.cc Thu Apr 2 17:47:17 2009
@@ -764,8 +764,6 @@ void Resolver::LookupOne(const char *name)
# undef h_errno // it could be a macro, but we want it to be local variable.
int h_errno=0;
ha=getipnodebyname(name,af,0,&h_errno);
-# elif defined(HAVE_GETHOSTBYNAME2)
- ha=gethostbyname2(name,af);
# else
if(af==AF_INET)
ha=gethostbyname(name);