git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cac9981
)
Revert "s4:registry - "util" - remove "const" from "reg_abs_path""
author
Wilco Baan Hofman
<wilco@baanhofman.nl>
Sun, 28 Mar 2010 13:59:53 +0000
(15:59 +0200)
committer
Jelmer Vernooij
<jelmer@samba.org>
Mon, 29 Mar 2010 16:43:59 +0000
(18:43 +0200)
This reverts commit
9c3e6249fd984b823a77cab0514601d2a487920a
.
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
source4/lib/registry/util.c
patch
|
blob
|
history
diff --git
a/source4/lib/registry/util.c
b/source4/lib/registry/util.c
index 456a9d355e726ae0aa6882e92a1aabf9ab06a05d..9ccf73790c027d3ced38afdb4f2bedc8138efa72 100644
(file)
--- a/
source4/lib/registry/util.c
+++ b/
source4/lib/registry/util.c
@@
-211,7
+211,7
@@
WERROR reg_open_key_abs(TALLOC_CTX *mem_ctx, struct registry_context *handle,
static WERROR get_abs_parent(TALLOC_CTX *mem_ctx, struct registry_context *ctx,
const char *path, struct registry_key **parent,
- char **name)
+ c
onst c
har **name)
{
char *parent_name;
WERROR error;
@@
-238,7
+238,7
@@
WERROR reg_key_del_abs(TALLOC_CTX *mem_ctx, struct registry_context *ctx,
const char *path)
{
struct registry_key *parent;
- char *n;
+ c
onst c
har *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;
- char *n;
+ c
onst c
har *n;
WERROR error;
*result = NULL;