Skip to content
Snippets Groups Projects
Commit eb25111b authored by Howard Chu's avatar Howard Chu
Browse files

Revert rev 1.92, AI_ADDRCONFIG is not a legal flag for getaddrinfo

parent 77df33a1
No related branches found
No related tags found
No related merge requests found
......@@ -393,9 +393,6 @@ ldap_connect_to_host(LDAP *ld, Sockbuf *sb,
#if defined( HAVE_GETADDRINFO ) && defined( HAVE_INET_NTOP )
memset( &hints, '\0', sizeof(hints) );
#ifdef AI_ADDRCONFIG
hints.ai_flags = AI_ADDRCONFIG;
#endif
hints.ai_family = ldap_int_inet4or6;
hints.ai_socktype = socktype;
snprintf(serv, sizeof serv, "%d", port );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment