summaryrefslogtreecommitdiff
path: root/source3/libnet/libnet_conf.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-03 13:40:40 +0100
committerMichael Adam <obnox@samba.org>2008-01-03 14:17:48 +0100
commitd3e54d913c705337d3caf88ee72d38c7f45f0949 (patch)
treebfe7f01cc137424e8468cfb461fbb67905c5ecb0 /source3/libnet/libnet_conf.c
parentcd84256866d6d2bbd7494b67ae96c3546902e794 (diff)
downloadsamba-d3e54d913c705337d3caf88ee72d38c7f45f0949.tar.gz
samba-d3e54d913c705337d3caf88ee72d38c7f45f0949.tar.bz2
samba-d3e54d913c705337d3caf88ee72d38c7f45f0949.zip
Rename libnet_smbconf_value_exists() to libnet_conf_value_exists().
Michael (This used to be commit 49f740797bb7fc5edacbd4c3e8b1eb1aab131ea4)
Diffstat (limited to 'source3/libnet/libnet_conf.c')
-rw-r--r--source3/libnet/libnet_conf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/libnet/libnet_conf.c b/source3/libnet/libnet_conf.c
index 53d70bd4f6..0032d549eb 100644
--- a/source3/libnet/libnet_conf.c
+++ b/source3/libnet/libnet_conf.c
@@ -134,8 +134,8 @@ static WERROR libnet_conf_reg_open_base_key(TALLOC_CTX *ctx,
return libnet_conf_reg_open_path(ctx, KEY_SMBCONF, desired_access, key);
}
-static bool libnet_smbconf_value_exists(struct registry_key *key,
- const char *param)
+static bool libnet_conf_value_exists(struct registry_key *key,
+ const char *param)
{
bool ret = false;
WERROR werr = WERR_OK;
@@ -732,7 +732,7 @@ WERROR libnet_smbconf_getparm(TALLOC_CTX *mem_ctx,
goto done;
}
- if (!libnet_smbconf_value_exists(key, param)) {
+ if (!libnet_conf_value_exists(key, param)) {
werr = WERR_INVALID_PARAM;
goto done;
}
@@ -774,7 +774,7 @@ WERROR libnet_smbconf_delparm(const char *service,
goto done;
}
- if (!libnet_smbconf_value_exists(key, param)) {
+ if (!libnet_conf_value_exists(key, param)) {
werr = WERR_INVALID_PARAM;
goto done;
}