diff options
author | Jeremy Allison <jra@samba.org> | 2005-12-16 01:41:12 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:05:51 -0500 |
commit | 10b5609a1458d156938302a5a26c11913c340476 (patch) | |
tree | a685463981ae47099626603cb7a487deda9db4a9 /source3/smbd | |
parent | 76796e212c0f1dc7587be138daac9c4ef093db4b (diff) | |
download | samba-10b5609a1458d156938302a5a26c11913c340476.tar.gz samba-10b5609a1458d156938302a5a26c11913c340476.tar.bz2 samba-10b5609a1458d156938302a5a26c11913c340476.zip |
r12279: unix_mask_match has been broken for *ever*... (How).
Ensure it returns a BOOL.
Jerry (and anyone else) please check this, I think
all uses are now correct but could do with another
set of eyes. Essential for 3.0.21 release.
Jeremy.
(This used to be commit 0c7b8a7637e760fcb6629092f36b610b8c71f5c9)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/chgpasswd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/chgpasswd.c b/source3/smbd/chgpasswd.c index c1168583ae..fed73db043 100644 --- a/source3/smbd/chgpasswd.c +++ b/source3/smbd/chgpasswd.c @@ -263,7 +263,7 @@ static int expect(int master, char *issue, char *expected) pstrcpy( str, buffer); trim_char( str, ' ', ' '); - if ((match = (unix_wild_match(expected, str) == 0))) { + if ((match = unix_wild_match(expected, str)) == True) { /* Now data has started to return, lower timeout. */ timeout = lp_passwd_chat_timeout() * 100; } |