git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f1ca59
)
s3:net_rpc_registry: use pipe_hnd->desthost instead of cli->desthost
author
Stefan Metzmacher
<metze@samba.org>
Fri, 22 Jul 2011 14:51:19 +0000
(16:51 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Fri, 22 Jul 2011 15:06:10 +0000
(17:06 +0200)
metze
source3/utils/net_rpc_registry.c
patch
|
blob
|
history
diff --git
a/source3/utils/net_rpc_registry.c
b/source3/utils/net_rpc_registry.c
index 9195bd477daeb2cb371386d07ca08bedee122572..94330af8d0f442999ea3636b9b2d636b3d4d1394 100644
(file)
--- 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 */