mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s3:registry: untangle assignment from check in reg_enumkey()
Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Thu Jul 5 17:57:16 CEST 2012 on sn-devel-104
This commit is contained in:
parent
e481afc0fe
commit
5ba91fff94
@ -306,7 +306,8 @@ WERROR reg_enumkey(TALLOC_CTX *mem_ctx, struct registry_key *key,
|
||||
return WERR_ACCESS_DENIED;
|
||||
}
|
||||
|
||||
if (!W_ERROR_IS_OK(err = fill_subkey_cache(key))) {
|
||||
err = fill_subkey_cache(key);
|
||||
if (!W_ERROR_IS_OK(err)) {
|
||||
return err;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user