From 3e6a44ee47b122c3b7eadc27ea9dbd64e9d62b6c Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Wed, 15 Oct 2003 03:39:05 +0000 Subject: [PATCH] Don't use compat features unnecessarily. --- libraries/libldap/dnssrv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; -- 2.39.5