summaryrefslogtreecommitdiffstats
path: root/source/libsmb/namequery.c
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
commit84ac54aef2bd56b5c889d3b05b8828aceb8ae00e (patch)
tree3899e107c877da1a285c7d651816a9c5714469da /source/libsmb/namequery.c
parentfc454c8ef6321fba9efa42a704c8e8c707361af3 (diff)
downloadsamba-84ac54aef2bd56b5c889d3b05b8828aceb8ae00e.tar.gz
samba-84ac54aef2bd56b5c889d3b05b8828aceb8ae00e.tar.xz
samba-84ac54aef2bd56b5c889d3b05b8828aceb8ae00e.zip
r3843: If a connection to a DC is requested, open connections simultaeneously to all
DCs found. The first one to reply wins. Volker
Diffstat (limited to 'source/libsmb/namequery.c')
-rw-r--r--source/libsmb/namequery.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/libsmb/namequery.c b/source/libsmb/namequery.c
index cdbc7f758a8..fef769314af 100644
--- a/source/libsmb/namequery.c
+++ b/source/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;