summaryrefslogtreecommitdiffstats
path: root/source/lib/util.c
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
commit6a759c57dcb851aa19d1d4156249a3df112aefd0 (patch)
tree4c2f5bc041e6d4f819ac385caf59d272e484f9ce /source/lib/util.c
parentb794ff213009fbcf6a4767e3361501291cdc065d (diff)
downloadsamba-6a759c57dcb851aa19d1d4156249a3df112aefd0.tar.gz
samba-6a759c57dcb851aa19d1d4156249a3df112aefd0.tar.xz
samba-6a759c57dcb851aa19d1d4156249a3df112aefd0.zip
rpcclient regenum key client code rewritten to use higher order functions.
Diffstat (limited to 'source/lib/util.c')
-rw-r--r--source/lib/util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/lib/util.c b/source/lib/util.c
index bd93b013418..1d318c40a14 100644
--- a/source/lib/util.c
+++ b/source/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;
}