From: Kurt Zeilenga Date: Wed, 15 Oct 2003 03:39:05 +0000 (+0000) Subject: Don't use compat features unnecessarily. X-Git-Tag: OPENLDAP_REL_ENG_2_1_MP~568 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3e6a44ee47b122c3b7eadc27ea9dbd64e9d62b6c;p=openldap Don't use compat features unnecessarily. --- diff --git a/libraries/libldap/dnssrv.c b/libraries/libldap/dnssrv.c index ccb8fe9a3e..fdf577402e 100644 --- a/libraries/libldap/dnssrv.c +++ b/libraries/libldap/dnssrv.c @@ -203,7 +203,7 @@ int ldap_domain2hostlist( #endif rc = LDAP_UNAVAILABLE; - len = res_query(request, C_IN, T_SRV, reply, sizeof(reply)); + len = res_query(request, ns_c_in, ns_t_srv, reply, sizeof(reply)); if (len >= 0) { unsigned char *p; char host[DNSBUFSIZ];