From 7f0b4eed3b85fd061351078e464586460745f225 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 22 Jul 2011 11:24:45 +0200 Subject: s3:libsmb: use cli_state_remote_sockaddr() in smb2cli_tcon_send() metze --- source3/libsmb/smb2cli_tcon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/libsmb/smb2cli_tcon.c b/source3/libsmb/smb2cli_tcon.c index eca2617998..705f8fc99c 100644 --- a/source3/libsmb/smb2cli_tcon.c +++ b/source3/libsmb/smb2cli_tcon.c @@ -51,7 +51,7 @@ struct tevent_req *smb2cli_tcon_send(TALLOC_CTX *mem_ctx, } state->cli = cli; - print_sockaddr(srv_ip, sizeof(srv_ip), &cli->dest_ss); + print_sockaddr(srv_ip, sizeof(srv_ip), cli_state_remote_sockaddr(cli)); tcon_share = talloc_asprintf(talloc_tos(), "\\\\%s\\%s", srv_ip, share); -- cgit