diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-07-22 16:48:02 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-07-22 17:06:10 +0200 |
commit | 27c38dfb445565a160cfcb3b80c73bb7ad05ece3 (patch) | |
tree | 64a00c3f3d160007081badafed74275a7df8f6f3 /source3/utils | |
parent | f88723ab2784d5f035802d1040e7d3e7ac1a8656 (diff) | |
download | samba-27c38dfb445565a160cfcb3b80c73bb7ad05ece3.tar.gz samba-27c38dfb445565a160cfcb3b80c73bb7ad05ece3.tar.bz2 samba-27c38dfb445565a160cfcb3b80c73bb7ad05ece3.zip |
s3:net_rpc: make use of cli_state_remote_name()
metze
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/net_rpc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c index d6a8868b2a..1ec34c210c 100644 --- a/source3/utils/net_rpc.c +++ b/source3/utils/net_rpc.c @@ -351,7 +351,7 @@ static NTSTATUS rpc_oldjoin_internals(struct net_context *c, if (!NT_STATUS_IS_OK(result)) { DEBUG(0,("rpc_oldjoin_internals: netlogon pipe open to machine %s failed. " "error was %s\n", - cli->desthost, + cli_state_remote_name(cli), nt_errstr(result) )); return result; } @@ -3977,7 +3977,7 @@ static NTSTATUS rpc_share_migrate_files_internals(struct net_context *c, /* open share source */ nt_status = connect_to_service(c, &cp_clistate.cli_share_src, cli_state_remote_sockaddr(cli), - cli->desthost, + cli_state_remote_name(cli), info502.name, "A:"); if (!NT_STATUS_IS_OK(nt_status)) goto done; |