41bc1630b8
Submitted by : Victor Sahlstedt <cvss@home.se>
13 lines
504 B
Plaintext
13 lines
504 B
Plaintext
$OpenBSD: patch-src_Resolver_cc,v 1.2 2004/05/24 07:04:46 kevlo Exp $
|
|
--- src/Resolver.cc.orig Sat May 8 22:53:56 2004
|
|
+++ src/Resolver.cc Sat May 8 22:54:41 2004
|
|
@@ -752,8 +752,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);
|