mirror of
https://github.com/samba-team/samba.git
synced 2025-06-01 09:05:46 +03:00
r20428: Rename dns_open. This conflicts with the dns_open symbol in
libSystem on Mac OS X. (This used to be commit 2117904f18869fca0d4770883cf2de5fb00c4f85)
This commit is contained in:
parent
1beb6f6038
commit
62382d19e9
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user