diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/lib/util_reg.c | 7 | ||||
-rw-r--r-- | source3/registry/reg_db.c | 7 |
2 files changed, 7 insertions, 7 deletions
diff --git a/source3/lib/util_reg.c b/source3/lib/util_reg.c index e75d72ac24..ed9f0a6817 100644 --- a/source3/lib/util_reg.c +++ b/source3/lib/util_reg.c @@ -110,3 +110,10 @@ WERROR reg_pull_multi_sz(TALLOC_CTX *mem_ctx, const void *buf, size_t len, return WERR_OK; } + +void normalize_dbkey(char *key) +{ + size_t len = strlen(key); + string_sub(key, "\\", "/", len+1); + strupper_m(key); +} diff --git a/source3/registry/reg_db.c b/source3/registry/reg_db.c index 8c6c5aacd8..cea089a9db 100644 --- a/source3/registry/reg_db.c +++ b/source3/registry/reg_db.c @@ -697,13 +697,6 @@ BOOL regdb_store_values( const char *key, REGVAL_CTR *values ) return ret != -1 ; } -void normalize_dbkey(char *key) -{ - size_t len = strlen(key); - string_sub(key, "\\", "/", len+1); - strupper_m(key); -} - static WERROR regdb_get_secdesc(TALLOC_CTX *mem_ctx, const char *key, struct security_descriptor **psecdesc) { |