diff --git a/whois.c b/whois.c index adcf5e7..06346ed 100644 --- a/whois.c +++ b/whois.c @@ -940,9 +940,7 @@ int openconn(const char *server, const char *port) hints.ai_family = AF_UNSPEC; hints.ai_socktype = SOCK_STREAM; hints.ai_flags = AI_ADDRCONFIG; -#ifdef HAVE_LIBIDN hints.ai_flags |= AI_IDN; -#endif if ((err = getaddrinfo(server, port ? port : "nicname", &hints, &res)) != 0) {