From 15bacaf3c594ac24cf26b0329723e873a5cae43d Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Thu, 24 Jun 2010 16:33:37 +0200 Subject: 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 --- source3/registry/reg_cachehook.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'source3/registry/reg_cachehook.c') 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; -- cgit