diff options
Diffstat (limited to 'source3/rpcclient')
-rw-r--r-- | source3/rpcclient/cmd_srvsvc.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/rpcclient/cmd_srvsvc.c b/source3/rpcclient/cmd_srvsvc.c index 0c447e0306..fc00f8a178 100644 --- a/source3/rpcclient/cmd_srvsvc.c +++ b/source3/rpcclient/cmd_srvsvc.c @@ -516,7 +516,6 @@ static WERROR cmd_srvsvc_net_remote_tod(struct rpc_pipe_client *cli, int argc, const char **argv) { struct srvsvc_NetRemoteTODInfo *tod = NULL; - fstring srv_name_slash; WERROR result; NTSTATUS status; @@ -525,9 +524,8 @@ static WERROR cmd_srvsvc_net_remote_tod(struct rpc_pipe_client *cli, return WERR_OK; } - fstr_sprintf(srv_name_slash, "\\\\%s", cli->cli->desthost); status = rpccli_srvsvc_NetRemoteTOD(cli, mem_ctx, - srv_name_slash, + cli->cli->srv_name_slash, &tod, &result); if (!NT_STATUS_IS_OK(status)) { |