summaryrefslogtreecommitdiff
path: root/source3/rpcclient
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-07-22 16:45:51 +0200
committerStefan Metzmacher <metze@samba.org>2011-07-22 17:06:09 +0200
commit540cd1ac96023646f3facc636538ccef124917be (patch)
tree798b42f8bd5c20bf63cb5597fd8245e342d984ec /source3/rpcclient
parent9a638c4c5af04ce9a93b174849347302d5da3184 (diff)
downloadsamba-540cd1ac96023646f3facc636538ccef124917be.tar.gz
samba-540cd1ac96023646f3facc636538ccef124917be.tar.bz2
samba-540cd1ac96023646f3facc636538ccef124917be.zip
s3:rpcclient: make use of cli_state_remote_name()
metze
Diffstat (limited to 'source3/rpcclient')
-rw-r--r--source3/rpcclient/rpcclient.c4
1 files changed, 2 insertions, 2 deletions
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;