summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Peach <jpeach@samba.org>2006-12-31 06:50:44 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:16:48 -0500
commit62382d19e9d31177679fc0e89c16b95b1c35cbef (patch)
treebb25d806076e016f36f587a4c2dedb51e0418357
parent1beb6f6038560920dcb6944993bf1d28b238598a (diff)
downloadsamba-62382d19e9d31177679fc0e89c16b95b1c35cbef.tar.gz
samba-62382d19e9d31177679fc0e89c16b95b1c35cbef.tar.bz2
samba-62382d19e9d31177679fc0e89c16b95b1c35cbef.zip
r20428: Rename dns_open. This conflicts with the dns_open symbol in
libSystem on Mac OS X. (This used to be commit 2117904f18869fca0d4770883cf2de5fb00c4f85)
-rw-r--r--source3/utils/net_dns.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/net_dns.c b/source3/utils/net_dns.c
index 16f50ae4cd..cd779bf2c3 100644
--- a/source3/utils/net_dns.c
+++ b/source3/utils/net_dns.c
@@ -48,7 +48,7 @@ DNS_ERROR DoDNSUpdate(char *pszServerName,
return ERROR_DNS_NO_MEMORY;
}
- err = dns_open( pszServerName, DNS_TCP, mem_ctx, &conn );
+ err = dns_open_connection( pszServerName, DNS_TCP, mem_ctx, &conn );
if (!ERR_DNS_IS_OK(err)) {
goto error;
}
@@ -166,7 +166,7 @@ DNS_ERROR do_gethostbyname(const char *server, const char *host)
struct dns_request *req, *resp;
DNS_ERROR err;
- err = dns_open(server, DNS_UDP, NULL, &conn);
+ err = dns_open_connection(server, DNS_UDP, NULL, &conn);
if (!ERR_DNS_IS_OK(err)) goto error;
err = dns_create_query(conn, host, QTYPE_A, DNS_CLASS_IN, &req);