diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-07-22 13:44:36 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-07-22 17:06:08 +0200 |
commit | a46b26556356d20e569ccdb408dd13214e85cf5d (patch) | |
tree | 35b73cc182cbb816a85e416ef7dae67739ea612a /source3 | |
parent | f0c1b5dad20392cdd051fefbb64a32c1fcb3bfc8 (diff) | |
download | samba-a46b26556356d20e569ccdb408dd13214e85cf5d.tar.gz samba-a46b26556356d20e569ccdb408dd13214e85cf5d.tar.bz2 samba-a46b26556356d20e569ccdb408dd13214e85cf5d.zip |
s3:net_rpc_join: make use of cli_state_remote_sockaddr()
metze
Diffstat (limited to 'source3')
-rw-r--r-- | source3/utils/net_rpc_join.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/utils/net_rpc_join.c b/source3/utils/net_rpc_join.c index f84ab1caab..8f1277764c 100644 --- a/source3/utils/net_rpc_join.c +++ b/source3/utils/net_rpc_join.c @@ -512,7 +512,8 @@ int net_rpc_join_newstyle(struct net_context *c, int argc, const char **argv) } /* double-check, connection from scratch */ - status = net_rpc_join_ok(c, domain, cli->desthost, &cli->dest_ss); + status = net_rpc_join_ok(c, domain, cli->desthost, + cli_state_remote_sockaddr(cli)); retval = NT_STATUS_IS_OK(status) ? 0 : -1; done: |