openbsd-ports/net/lftp/patches/patch-src_Resolver_cc
okan f024ca595a - maintenance update to 3.6.1 from Pierre-Emmanuel Andre
- re-sync patches

ok kevlo@ (MAINTAINER), merdely@
2008-02-13 16:27:10 +00:00

12 lines
436 B
Plaintext

--- src/Resolver.cc.orig Mon Oct 8 09:29:14 2007
+++ src/Resolver.cc Fri Feb 8 12:40:13 2008
@@ -740,8 +740,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);