From 86d189dad1e8d833974522ad86fd5b7317542c4a Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Sun, 13 Apr 2008 15:41:07 +0200 Subject: registry: honour the WERROR that regsubkey_ctr_addkey gives in regdb_fetch_keys. Michael (This used to be commit 7dd7471da7eca2671b4aa62e8790973e3ff14177) --- source3/registry/reg_backend_db.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'source3/registry') diff --git a/source3/registry/reg_backend_db.c b/source3/registry/reg_backend_db.c index 31a8f77614..bd28eb3241 100644 --- a/source3/registry/reg_backend_db.c +++ b/source3/registry/reg_backend_db.c @@ -720,6 +720,7 @@ fail: int regdb_fetch_keys(const char *key, REGSUBKEY_CTR *ctr) { + WERROR werr; char *path = NULL; uint32 num_items; uint8 *buf; @@ -764,7 +765,12 @@ int regdb_fetch_keys(const char *key, REGSUBKEY_CTR *ctr) for (i=0; i