diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-07-22 16:52:11 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-07-22 17:06:10 +0200 |
commit | e0a38c3a36311de5579ddc5eafb8868a68563928 (patch) | |
tree | a7e44e9c5d660c2dce0849008b8eafbb61240696 | |
parent | 4fb03b4edd6efeae6eb240a7814882254b6b4517 (diff) | |
download | samba-e0a38c3a36311de5579ddc5eafb8868a68563928.tar.gz samba-e0a38c3a36311de5579ddc5eafb8868a68563928.tar.xz samba-e0a38c3a36311de5579ddc5eafb8868a68563928.zip |
s3:net_util: use server_name instead of cli->desthost
They should be the same.
metze
-rw-r--r-- | source3/utils/net_util.c | 2 |
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)) { |