summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-07-22 16:51:19 +0200
committerStefan Metzmacher <metze@samba.org>2011-07-22 17:06:10 +0200
commit4fb03b4edd6efeae6eb240a7814882254b6b4517 (patch)
tree74a5f4f140c0f64a3a77cecd1d2651933b787406 /source3
parent1f1ca59a0445d495f4e29f722b65f23e622b1838 (diff)
downloadsamba-4fb03b4edd6efeae6eb240a7814882254b6b4517.tar.gz
samba-4fb03b4edd6efeae6eb240a7814882254b6b4517.tar.bz2
samba-4fb03b4edd6efeae6eb240a7814882254b6b4517.zip
s3:net_rpc_registry: use pipe_hnd->desthost instead of cli->desthost
metze
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/net_rpc_registry.c4
1 files changed, 2 insertions, 2 deletions
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 */