openbsd-ports/net/lftp/patches/patch-src_Resolver_cc

12 lines
434 B
Plaintext

--- src/Resolver.cc.orig Wed Nov 10 18:28:39 2004
+++ src/Resolver.cc Wed Nov 10 18:29:18 2004
@@ -784,8 +784,6 @@ void Resolver::LookupOne(const char *nam
# 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);