diff options
author | Michael Adam <obnox@samba.org> | 2012-04-23 16:05:33 +0200 |
---|---|---|
committer | Andreas Schneider <asn@samba.org> | 2012-04-25 14:31:12 +0200 |
commit | be2cb08e405036532c97e3f7dc50607582c0daeb (patch) | |
tree | ccd94939d8aebe3fd4c01f9bc528cbb586a780b2 /source3/registry | |
parent | 1703e6fe096ea9e3e14c189522150321fee1a4c5 (diff) | |
download | samba-be2cb08e405036532c97e3f7dc50607582c0daeb.tar.gz samba-be2cb08e405036532c97e3f7dc50607582c0daeb.tar.bz2 samba-be2cb08e405036532c97e3f7dc50607582c0daeb.zip |
s3:registry: let fill_subkey_cache return WERR_BADFILE when the subkey list could not be loaded
WERR_NO_MORE_ITEMS seems inappropriate.
Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
Signed-off-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source3/registry')
-rw-r--r-- | source3/registry/reg_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/registry/reg_api.c b/source3/registry/reg_api.c index ba5fb313c5..f5fea0741b 100644 --- a/source3/registry/reg_api.c +++ b/source3/registry/reg_api.c @@ -117,7 +117,7 @@ static WERROR fill_subkey_cache(struct registry_key *key) if (fetch_reg_keys(key->key, key->subkeys) == -1) { TALLOC_FREE(key->subkeys); - return WERR_NO_MORE_ITEMS; + return WERR_BADFILE; } return WERR_OK; |