summaryrefslogtreecommitdiff
path: root/source3/utils/net_util.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-07-22 16:52:11 +0200
committerStefan Metzmacher <metze@samba.org>2011-07-22 17:06:10 +0200
commite0a38c3a36311de5579ddc5eafb8868a68563928 (patch)
treea7e44e9c5d660c2dce0849008b8eafbb61240696 /source3/utils/net_util.c
parent4fb03b4edd6efeae6eb240a7814882254b6b4517 (diff)
downloadsamba-e0a38c3a36311de5579ddc5eafb8868a68563928.tar.gz
samba-e0a38c3a36311de5579ddc5eafb8868a68563928.tar.bz2
samba-e0a38c3a36311de5579ddc5eafb8868a68563928.zip
s3:net_util: use server_name instead of cli->desthost
They should be the same. metze
Diffstat (limited to 'source3/utils/net_util.c')
-rw-r--r--source3/utils/net_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_util.c b/source3/utils/net_util.c
index a151d6ee67..4bf4e3395b 100644
--- a/source3/utils/net_util.c
+++ b/source3/utils/net_util.c
@@ -531,7 +531,7 @@ NTSTATUS net_make_ipc_connection_ex(struct net_context *c ,const char *domain,
/* store the server in the affinity cache if it was a PDC */
if ( (flags & NET_FLAGS_PDC) && NT_STATUS_IS_OK(nt_status) )
- saf_store( cli->server_domain, cli->desthost );
+ saf_store(cli->server_domain, server_name);
SAFE_FREE(server_name);
if (!NT_STATUS_IS_OK(nt_status)) {