1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

registry: use normalize_reg_path() in regdb_fetch_keys()

instead of handcrafting normalization.

Michael
(This used to be commit 1e4d2310d0)
This commit is contained in:
Michael Adam 2008-04-29 15:28:47 +02:00
parent caba2d3a64
commit dba75c0831

View File

@ -739,11 +739,10 @@ int regdb_fetch_keys(const char *key, REGSUBKEY_CTR *ctr)
}
/* convert to key format */
path = talloc_string_sub(frame, path, "\\", "/");
path = normalize_reg_path(frame, path);
if (!path) {
goto fail;
}
strupper_m(path);
ctr->seqnum = regdb_get_seqnum();