diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-08-27 22:01:58 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 15:02:57 -0500 |
commit | 5d518417f8dc64ce9bbfedc3ddb988d69961bde4 (patch) | |
tree | 63c8b26ebbde6839220bd3779bc520262bf07c26 /source4/rpc_server/winreg | |
parent | 2cd9215e777820eec2cd6952aaa80c594facba32 (diff) | |
download | samba-5d518417f8dc64ce9bbfedc3ddb988d69961bde4.tar.gz samba-5d518417f8dc64ce9bbfedc3ddb988d69961bde4.tar.bz2 samba-5d518417f8dc64ce9bbfedc3ddb988d69961bde4.zip |
r24726: Add tests for getting/setting security descriptors (still failing at the moment)
(This used to be commit ecdfaf56c09e75dc3ca37a3599c89661ad3485ff)
Diffstat (limited to 'source4/rpc_server/winreg')
-rw-r--r-- | source4/rpc_server/winreg/rpc_winreg.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/source4/rpc_server/winreg/rpc_winreg.c b/source4/rpc_server/winreg/rpc_winreg.c index 11c366fcb7..05f47a4483 100644 --- a/source4/rpc_server/winreg/rpc_winreg.c +++ b/source4/rpc_server/winreg/rpc_winreg.c @@ -490,11 +490,7 @@ static WERROR dcesrv_winreg_SetValue(struct dcesrv_call_state *dce_call, data.length = r->in.size; result = reg_val_set(key, r->in.name.name, r->in.type, data); - if (!W_ERROR_IS_OK(result)) { - return result; - } - - return WERR_OK; + return result; } |