summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-11-27 14:05:28 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:16:09 -0500
commit4a361ffd7f0b62f05e552c6da926881cd1f756a0 (patch)
treeef082a0ef289af6017a146eeb28d7d67eebe103b /source3/rpc_server
parent847644bdac520a3cca7f30ffa50c0de3eeedf6d9 (diff)
downloadsamba-4a361ffd7f0b62f05e552c6da926881cd1f756a0.tar.gz
samba-4a361ffd7f0b62f05e552c6da926881cd1f756a0.tar.bz2
samba-4a361ffd7f0b62f05e552c6da926881cd1f756a0.zip
r19918: Convert winreg_CreateKey to use a ref ** instead of a unique *. W2k3 can still
create keys on Samba and vice versa. Jelmer, please check. Thanks, Volker (This used to be commit 1b460d6cdfe0cadd915a5299e6ca9bb359bf0075)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_winreg_nt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/rpc_server/srv_winreg_nt.c b/source3/rpc_server/srv_winreg_nt.c
index 623aab8523..2b7bd41a62 100644
--- a/source3/rpc_server/srv_winreg_nt.c
+++ b/source3/rpc_server/srv_winreg_nt.c
@@ -1196,7 +1196,7 @@ WERROR _winreg_CreateKey( pipes_struct *p, struct policy_handle *handle,
uint32_t options, uint32_t access_mask,
struct winreg_SecBuf *secdesc,
struct policy_handle *new_handle,
- enum winreg_CreateAction *action_taken )
+ enum winreg_CreateAction **action_taken )
{
struct regkey_info *parent = find_regkey_info_by_hnd(p, handle);
struct regkey_info *newparentinfo, *keyinfo;
@@ -1288,8 +1288,8 @@ WERROR _winreg_CreateKey( pipes_struct *p, struct policy_handle *handle,
/* FIXME: report the truth here */
- if ( action_taken ) {
- *action_taken = REG_CREATED_NEW_KEY;
+ if ( *action_taken ) {
+ **action_taken = REG_CREATED_NEW_KEY;
}
done: