diff options
author | Michael Adam <obnox@samba.org> | 2008-04-29 15:28:47 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-04-30 12:42:31 +0200 |
commit | dba75c083179dd2721fc86291749e02331e9cbc3 (patch) | |
tree | 89542f7bd7521f57283a34c5157dbf2eba027164 | |
parent | caba2d3a648d13a9de680197f1a9ebd09c905cec (diff) | |
download | samba-dba75c083179dd2721fc86291749e02331e9cbc3.tar.gz samba-dba75c083179dd2721fc86291749e02331e9cbc3.tar.bz2 samba-dba75c083179dd2721fc86291749e02331e9cbc3.zip |
registry: use normalize_reg_path() in regdb_fetch_keys()
instead of handcrafting normalization.
Michael
(This used to be commit 1e4d2310d077c4d18470fd76f5ff9c010aadd3f0)
-rw-r--r-- | source3/registry/reg_backend_db.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/registry/reg_backend_db.c b/source3/registry/reg_backend_db.c index 95cca029c4..6bd8d375fb 100644 --- a/source3/registry/reg_backend_db.c +++ b/source3/registry/reg_backend_db.c @@ -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(); |