diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-07-22 11:24:45 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-07-22 17:06:08 +0200 |
commit | 7f0b4eed3b85fd061351078e464586460745f225 (patch) | |
tree | 519fd65e6bce145b064128e1ba948613475e31ad /source3 | |
parent | acf4b84cbf55dc3899a5005e73c1f55fbf8e5347 (diff) | |
download | samba-7f0b4eed3b85fd061351078e464586460745f225.tar.gz samba-7f0b4eed3b85fd061351078e464586460745f225.tar.bz2 samba-7f0b4eed3b85fd061351078e464586460745f225.zip |
s3:libsmb: use cli_state_remote_sockaddr() in smb2cli_tcon_send()
metze
Diffstat (limited to 'source3')
-rw-r--r-- | source3/libsmb/smb2cli_tcon.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |