summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2004-11-18 11:57:49 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:53:20 -0500
commit24d3605d99513fd0ce11671a40ad3fca8a1caaf5 (patch)
treec470a09d8eb54accc79535c62f962b5f6d704b95 /source3/libsmb
parent0bd9bc6ecae10fa21e4315ea9f20b52fc5883f30 (diff)
downloadsamba-24d3605d99513fd0ce11671a40ad3fca8a1caaf5.tar.gz
samba-24d3605d99513fd0ce11671a40ad3fca8a1caaf5.tar.bz2
samba-24d3605d99513fd0ce11671a40ad3fca8a1caaf5.zip
r3843: If a connection to a DC is requested, open connections simultaeneously to all
DCs found. The first one to reply wins. Volker (This used to be commit 84ac54aef2bd56b5c889d3b05b8828aceb8ae00e)
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/namequery.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/libsmb/namequery.c b/source3/libsmb/namequery.c
index cdbc7f758a..fef769314a 100644
--- a/source3/libsmb/namequery.c
+++ b/source3/libsmb/namequery.c
@@ -1009,9 +1009,9 @@ static BOOL resolve_ads(const char *name, int name_type,
resolve_hosts() when looking up DC's via SRV RR entries in DNS
**********************************************************************/
-static BOOL internal_resolve_name(const char *name, int name_type,
- struct ip_service **return_iplist,
- int *return_count, const char *resolve_order)
+BOOL internal_resolve_name(const char *name, int name_type,
+ struct ip_service **return_iplist,
+ int *return_count, const char *resolve_order)
{
pstring name_resolve_list;
fstring tok;