]> git.sur5r.net Git - openldap/commitdiff
Don't use compat features unnecessarily.
authorKurt Zeilenga <kurt@openldap.org>
Wed, 15 Oct 2003 03:39:05 +0000 (03:39 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Wed, 15 Oct 2003 03:39:05 +0000 (03:39 +0000)
libraries/libldap/dnssrv.c

index ccb8fe9a3e18786a87df15613c9d6f1fcdfa6169..fdf577402e5d0a88c1b1abc45af9fdef13c5ad57 100644 (file)
@@ -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];