diff options
author | Jeremy Allison <jra@samba.org> | 2008-04-11 17:46:17 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2008-04-11 17:46:17 -0700 |
commit | ccb79b383d88b95a7916877efce0afb8a4ab6ca4 (patch) | |
tree | 6b5a5689ff7bc9780e26faecb00ec234b3c2c426 /source3/registry/reg_util.c | |
parent | f85c4b6905235d5e11ebeadd3e8216e4ae8cc31c (diff) | |
parent | 85dc216ecbacdff96ac6dcd1937b2a120fba8b07 (diff) | |
download | samba-ccb79b383d88b95a7916877efce0afb8a4ab6ca4.tar.gz samba-ccb79b383d88b95a7916877efce0afb8a4ab6ca4.tar.bz2 samba-ccb79b383d88b95a7916877efce0afb8a4ab6ca4.zip |
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
(This used to be commit 7258c780f0650c63d6c7c40fd704a9b841600f26)
Diffstat (limited to 'source3/registry/reg_util.c')
-rw-r--r-- | source3/registry/reg_util.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/source3/registry/reg_util.c b/source3/registry/reg_util.c index cd0982d09a..e72353e7c5 100644 --- a/source3/registry/reg_util.c +++ b/source3/registry/reg_util.c @@ -99,6 +99,16 @@ char *normalize_reg_path(TALLOC_CTX *ctx, const char *keyname ) return nkeyname; } +/** + * normalize ther registry path in place. + */ +void normalize_dbkey(char *key) +{ + size_t len = strlen(key); + string_sub(key, "\\", "/", len+1); + strupper_m(key); +} + /********************************************************************** move to next non-delimter character *********************************************************************/ |