diff options
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/smbconf/smbconf_reg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/smbconf/smbconf_reg.c b/source3/lib/smbconf/smbconf_reg.c index dfce7502c5..395e44a31e 100644 --- a/source3/lib/smbconf/smbconf_reg.c +++ b/source3/lib/smbconf/smbconf_reg.c @@ -66,8 +66,8 @@ static bool smbconf_reg_valname_forbidden(const char *valname) static bool smbconf_reg_valname_valid(const char *valname) { - return (lp_parameter_is_valid(valname) && - !smbconf_reg_valname_forbidden(valname)); + return (!smbconf_reg_valname_forbidden(valname) && + lp_parameter_is_valid(valname)); } /** |