From 4fb03b4edd6efeae6eb240a7814882254b6b4517 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 22 Jul 2011 16:51:19 +0200 Subject: s3:net_rpc_registry: use pipe_hnd->desthost instead of cli->desthost metze --- source3/utils/net_rpc_registry.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/utils') diff --git a/source3/utils/net_rpc_registry.c b/source3/utils/net_rpc_registry.c index 9195bd477d..94330af8d0 100644 --- a/source3/utils/net_rpc_registry.c +++ b/source3/utils/net_rpc_registry.c @@ -1136,12 +1136,12 @@ static NTSTATUS rpc_registry_save_internal(struct net_context *c, status = dcerpc_winreg_SaveKey(b, mem_ctx, &pol_key, &filename, NULL, &result); if (!NT_STATUS_IS_OK(status)) { d_fprintf(stderr, _("Unable to save [%s] to %s:%s\n"), argv[0], - cli->desthost, argv[1]); + pipe_hnd->desthost, argv[1]); } if (!W_ERROR_IS_OK(result)) { status = werror_to_ntstatus(result); d_fprintf(stderr, _("Unable to save [%s] to %s:%s\n"), argv[0], - cli->desthost, argv[1]); + pipe_hnd->desthost, argv[1]); } /* cleanup */ -- cgit