summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-07-22 16:43:27 +0200
committerStefan Metzmacher <metze@samba.org>2011-07-22 17:06:09 +0200
commitef23fb3412d167fd69e4512639fb2b783bd08185 (patch)
treea6c9e2911d9cfef7b239a69c654d28a9d925a4fd /source3/rpc_client
parent9fe30f3c91234436c0f4a019d3c1545b41184d9b (diff)
downloadsamba-ef23fb3412d167fd69e4512639fb2b783bd08185.tar.gz
samba-ef23fb3412d167fd69e4512639fb2b783bd08185.tar.bz2
samba-ef23fb3412d167fd69e4512639fb2b783bd08185.zip
s3:cli_pipe: use result->desthost instead of cli->desthost
metze
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_pipe.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c
index 0b9470620d..710b94b5d1 100644
--- a/source3/rpc_client/cli_pipe.c
+++ b/source3/rpc_client/cli_pipe.c
@@ -2891,7 +2891,7 @@ NTSTATUS cli_rpc_pipe_open_noauth_transport(struct cli_state *cli,
DEBUG(10,("cli_rpc_pipe_open_noauth: opened pipe %s to machine "
"%s and bound anonymously.\n",
get_pipe_name_from_syntax(talloc_tos(), interface),
- cli->desthost));
+ result->desthost));
*presult = result;
return NT_STATUS_OK;
@@ -2951,7 +2951,7 @@ NTSTATUS cli_rpc_pipe_open_ntlmssp(struct cli_state *cli,
DEBUG(10,("cli_rpc_pipe_open_ntlmssp_internal: opened pipe %s to "
"machine %s and bound NTLMSSP as user %s\\%s.\n",
get_pipe_name_from_syntax(talloc_tos(), interface),
- cli->desthost, domain, username ));
+ result->desthost, domain, username));
*presult = result;
return NT_STATUS_OK;
@@ -3018,7 +3018,7 @@ NTSTATUS cli_rpc_pipe_open_schannel_with_key(struct cli_state *cli,
DEBUG(10,("cli_rpc_pipe_open_schannel_with_key: opened pipe %s to machine %s "
"for domain %s and bound using schannel.\n",
get_pipe_name_from_syntax(talloc_tos(), interface),
- cli->desthost, domain ));
+ result->desthost, domain));
*presult = result;
return NT_STATUS_OK;