summaryrefslogtreecommitdiff
path: root/source4/lib/registry/util.c
diff options
context:
space:
mode:
authorWilco Baan Hofman <wilco@baanhofman.nl>2010-03-28 16:03:12 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-03-29 18:43:59 +0200
commit541e2942f8dcda970a8b83c7832ea5c09cb38fc8 (patch)
tree507be1254fc300d74497bf30555b1b8c110af59e /source4/lib/registry/util.c
parent3629798f72aa9126e115a8f38e0455245794f9c3 (diff)
downloadsamba-541e2942f8dcda970a8b83c7832ea5c09cb38fc8.tar.gz
samba-541e2942f8dcda970a8b83c7832ea5c09cb38fc8.tar.bz2
samba-541e2942f8dcda970a8b83c7832ea5c09cb38fc8.zip
Remove incorrect const, something that was correct in commit 9c3e6249fd984b823a77cab0514601d2a487920a
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Diffstat (limited to 'source4/lib/registry/util.c')
-rw-r--r--source4/lib/registry/util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/registry/util.c b/source4/lib/registry/util.c
index 9ccf73790c..56d215cab7 100644
--- a/source4/lib/registry/util.c
+++ b/source4/lib/registry/util.c
@@ -238,7 +238,7 @@ WERROR reg_key_del_abs(TALLOC_CTX *mem_ctx, struct registry_context *ctx,
const char *path)
{
struct registry_key *parent;
- const char *n;
+ char *n;
WERROR error;
if (!strchr(path, '\\')) {
@@ -262,7 +262,7 @@ WERROR reg_key_add_abs(TALLOC_CTX *mem_ctx, struct registry_context *ctx,
struct registry_key **result)
{
struct registry_key *parent;
- const char *n;
+ char *n;
WERROR error;
*result = NULL;