summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/param/loadparm.c2
-rw-r--r--source3/utils/net_conf.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 8c6c0f1afe..759c24ca73 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -2782,7 +2782,7 @@ BOOL lp_add_printer(const char *pszPrintername, int iDefaultService)
Parametric options (names containing a colon) are considered valid.
***************************************************************************/
-BOOL lp_parameter_valid(const char *pszParmName)
+BOOL lp_parameter_is_valid(const char *pszParmName)
{
return ((map_parameter(pszParmName) != -1) ||
(strchr(pszParmName, ':') != NULL));
diff --git a/source3/utils/net_conf.c b/source3/utils/net_conf.c
index 1c61a25ee9..9888d1f548 100644
--- a/source3/utils/net_conf.c
+++ b/source3/utils/net_conf.c
@@ -171,7 +171,7 @@ static WERROR reg_setvalue_internal(struct registry_key *key,
goto done;
}
- if (!lp_parameter_valid(valname)) {
+ if (!lp_parameter_is_valid(valname)) {
d_fprintf(stderr, "Invalid parameter '%s' given.\n", valname);
werr = WERR_INVALID_PARAM;
goto done;