registry: use regdb_fetch_key_internal() in regdb_fetch_values().
authorMichael Adam <obnox@samba.org>
Tue, 29 Apr 2008 15:11:09 +0000 (17:11 +0200)
committerMichael Adam <obnox@samba.org>
Wed, 30 Apr 2008 10:42:32 +0000 (12:42 +0200)
Michael
(This used to be commit 3316541ac9f1441294405fdd98f0ffafdec8bc2f)

source3/registry/reg_backend_db.c

index 9fa62fb7c47d8e64b2762d34355fb66ca9da01be..8c994a0c4e842fd1a83f5867dd98558121ff900d 100644 (file)
@@ -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 */