summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-04-08 22:57:48 +0200
committerMichael Adam <obnox@samba.org>2008-04-10 01:29:00 +0200
commita7e06ad6253ba0b30d9b2f1393c2a6f7064f464b (patch)
tree69e8da390b3b1b231fcd8602ef7fd5927330692f /source3/lib
parentb91cdf7183460f838e8bf7a5996a5d9b3c41b2ed (diff)
downloadsamba-a7e06ad6253ba0b30d9b2f1393c2a6f7064f464b.tar.gz
samba-a7e06ad6253ba0b30d9b2f1393c2a6f7064f464b.tar.bz2
samba-a7e06ad6253ba0b30d9b2f1393c2a6f7064f464b.zip
libsmbconf: rename registry_smbconf_valname_forbidden() to smbconf_reg_valname_forbidden()
Michael (This used to be commit 23fb33fd33a8287d8691a1a5e95bf160be3ed25c)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/smbconf/smbconf_reg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/smbconf/smbconf_reg.c b/source3/lib/smbconf/smbconf_reg.c
index 9d526b465e..e790e65175 100644
--- a/source3/lib/smbconf/smbconf_reg.c
+++ b/source3/lib/smbconf/smbconf_reg.c
@@ -44,7 +44,7 @@ static struct reg_private_data *rpd(struct smbconf_ctx *ctx)
/*
* check whether a given value name is forbidden in registry (smbconf)
*/
-static bool registry_smbconf_valname_forbidden(const char *valname)
+static bool smbconf_reg_valname_forbidden(const char *valname)
{
/* hard code the list of forbidden names here for now */
const char *forbidden_valnames[] = {
@@ -244,7 +244,7 @@ static WERROR smbconf_reg_set_value(struct registry_key *key,
goto done;
}
- if (registry_smbconf_valname_forbidden(canon_valname)) {
+ if (smbconf_reg_valname_forbidden(canon_valname)) {
DEBUG(5, ("Parameter '%s' not allowed in registry.\n",
canon_valname));
werr = WERR_INVALID_PARAM;