From 540cd1ac96023646f3facc636538ccef124917be Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 22 Jul 2011 16:45:51 +0200 Subject: s3:rpcclient: make use of cli_state_remote_name() metze --- source3/rpcclient/rpcclient.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/rpcclient') diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c index 8ff9742b87..1c0c21f574 100644 --- a/source3/rpcclient/rpcclient.c +++ b/source3/rpcclient/rpcclient.c @@ -706,7 +706,7 @@ static NTSTATUS do_cmd(struct cli_state *cli, cli, cmd_entry->interface, default_transport, pipe_default_auth_level, - cli->desthost, + cli_state_remote_name(cli), NULL, NULL, &cmd_entry->rpc_pipe); break; @@ -737,7 +737,7 @@ static NTSTATUS do_cmd(struct cli_state *cli, cli, cmd_entry->interface, default_transport, pipe_default_auth_level, - cli->desthost, + cli_state_remote_name(cli), NULL, NULL, &cmd_entry->rpc_pipe); break; -- cgit