summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/registry/reg_backend_db.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/source3/registry/reg_backend_db.c b/source3/registry/reg_backend_db.c
index 9fa62fb7c4..8c994a0c4e 100644
--- a/source3/registry/reg_backend_db.c
+++ b/source3/registry/reg_backend_db.c
@@ -873,14 +873,10 @@ int regdb_fetch_values( const char* key, REGVAL_CTR *values )
if (!keystr) {
return 0;
}
- keystr = normalize_reg_path(ctx, keystr);
- if (!keystr) {
- goto done;
- }
values->seqnum = regdb_get_seqnum();
- value = dbwrap_fetch_bystring(regdb, ctx, keystr);
+ value = regdb_fetch_key_internal(keystr, ctx);
if (!value.dptr) {
/* all keys have zero values by default */