mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
registry: use regdb_fetch_key_internal() in regdb_fetch_values().
Michael
(This used to be commit 3316541ac9
)
This commit is contained in:
parent
6b4ed4b8f3
commit
167d54cc67
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user