summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-04-29 17:11:09 +0200
committerMichael Adam <obnox@samba.org>2008-04-30 12:42:32 +0200
commit167d54cc67e8ba496c8d5a397f08a512525bb61b (patch)
treea6ddc6eaa0c1b3a0d27438535ef17c0b032771d5 /source3
parent6b4ed4b8f349ec220c90f2b7aecec6436c355daf (diff)
downloadsamba-167d54cc67e8ba496c8d5a397f08a512525bb61b.tar.gz
samba-167d54cc67e8ba496c8d5a397f08a512525bb61b.tar.bz2
samba-167d54cc67e8ba496c8d5a397f08a512525bb61b.zip
registry: use regdb_fetch_key_internal() in regdb_fetch_values().
Michael (This used to be commit 3316541ac9f1441294405fdd98f0ffafdec8bc2f)
Diffstat (limited to 'source3')
-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 */