diff options
Diffstat (limited to 'source4/lib/samba3')
-rw-r--r-- | source4/lib/samba3/smbpasswd.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source4/lib/samba3/smbpasswd.c b/source4/lib/samba3/smbpasswd.c index acba763371..c19e90219f 100644 --- a/source4/lib/samba3/smbpasswd.c +++ b/source4/lib/samba3/smbpasswd.c @@ -77,9 +77,8 @@ struct samr_Password *smbpasswd_gethexpwd(TALLOC_CTX *mem_ctx, const char *p) p1 = strchr_m(hexchars, hinybble); p2 = strchr_m(hexchars, lonybble); - if (!p1 || !p2) - { - return (False); + if (!p1 || !p2) { + return NULL; } hinybble = PTR_DIFF(p1, hexchars); |