1
0
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:
Michael Adam 2012-07-03 14:42:46 +02:00
parent e481afc0fe
commit 5ba91fff94

View File

@ -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;
}