summaryrefslogtreecommitdiff
path: root/source3/registry/reg_cachehook.c
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2010-06-24 16:33:37 +0200
committerMichael Adam <obnox@samba.org>2010-06-25 17:35:41 +0200
commit15bacaf3c594ac24cf26b0329723e873a5cae43d (patch)
tree6d49def92215c4fd375d54862a260984702099cd /source3/registry/reg_cachehook.c
parentf540833632ffe2c743e90ef9df1627e69b7a0c7b (diff)
downloadsamba-15bacaf3c594ac24cf26b0329723e873a5cae43d.tar.gz
samba-15bacaf3c594ac24cf26b0329723e873a5cae43d.tar.bz2
samba-15bacaf3c594ac24cf26b0329723e873a5cae43d.zip
s3-registry: Convert registry key delimiter from slash to backslash.
This is needed to support keynames containing a '/' like TCP/IP. Which is used in serveral standard paths. Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/registry/reg_cachehook.c')
-rw-r--r--source3/registry/reg_cachehook.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/source3/registry/reg_cachehook.c b/source3/registry/reg_cachehook.c
index 6b00ab4aa1..dc07b51944 100644
--- a/source3/registry/reg_cachehook.c
+++ b/source3/registry/reg_cachehook.c
@@ -46,12 +46,6 @@ static WERROR keyname_to_path(TALLOC_CTX *mem_ctx, const char *keyname,
return WERR_NOMEM;
}
- tmp_path = talloc_string_sub(mem_ctx, tmp_path, "\\", "/");
- if (tmp_path == NULL) {
- DEBUG(0, ("talloc_string_sub_failed!\n"));
- return WERR_NOMEM;
- }
-
*path = tmp_path;
return WERR_OK;