mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
r24510: Fix logic. Thanks to Volker for the hint!
Michael
(This used to be commit ce1d7ad1ac
)
This commit is contained in:
parent
891fa216ea
commit
ed4b40e9cb
@ -2832,7 +2832,7 @@ BOOL lp_canonicalize_parameter(const char *parm_name, const char **canon_parm,
|
||||
|
||||
*inverse = False;
|
||||
num = map_parameter(parm_name);
|
||||
if (num < 0 && !(parm_table[num].flags & FLAG_HIDE)) {
|
||||
if ((num < 0) || !(parm_table[num].flags & FLAG_HIDE)) {
|
||||
/* it is already canonical (parametric are canonical anyways) */
|
||||
*canon_parm = parm_name;
|
||||
return True;
|
||||
|
Loading…
Reference in New Issue
Block a user