From ef23fb3412d167fd69e4512639fb2b783bd08185 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 22 Jul 2011 16:43:27 +0200 Subject: [PATCH] s3:cli_pipe: use result->desthost instead of cli->desthost metze --- source3/rpc_client/cli_pipe.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c index 0b9470620d9..710b94b5d1c 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; -- 2.34.1