From e0a38c3a36311de5579ddc5eafb8868a68563928 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 22 Jul 2011 16:52:11 +0200 Subject: s3:net_util: use server_name instead of cli->desthost They should be the same. metze --- source3/utils/net_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/utils') 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)) { -- cgit