summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-10-29 20:24:18 +0000
committerLuke Leighton <lkcl@samba.org>1999-10-29 20:24:18 +0000
commitbcf1c3182670f20f4705cfe73e27d1e2e9f8eedf (patch)
treed1c0df72425384d1501a7dee97e1def26a86d708 /source3/lib
parent243feaa08c43cc7dbca155cba5f085697e968c8d (diff)
downloadsamba-bcf1c3182670f20f4705cfe73e27d1e2e9f8eedf.tar.gz
samba-bcf1c3182670f20f4705cfe73e27d1e2e9f8eedf.tar.bz2
samba-bcf1c3182670f20f4705cfe73e27d1e2e9f8eedf.zip
rpcclient regenum key client code rewritten to use higher order functions.
(This used to be commit 6a759c57dcb851aa19d1d4156249a3df112aefd0)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c
index bd93b01341..1d318c40a1 100644
--- a/source3/lib/util.c
+++ b/source3/lib/util.c
@@ -3126,11 +3126,11 @@ void reg_get_subkey(char *full_keyname, char *key_name, char *subkey_name)
/*****************************************************************
splits out the start of the key (HKLM or HKU) and the rest of the key
*****************************************************************/
-BOOL reg_split_key(char *full_keyname, uint32 *reg_type, char *key_name)
+BOOL reg_split_key(const char *full_keyname, uint32 *reg_type, char *key_name)
{
pstring tmp;
- if (!next_token(&full_keyname, tmp, "\\", sizeof(tmp)))
+ if (!next_token((char**)(&full_keyname), tmp, "\\", sizeof(tmp)))
{
return False;
}