diff options
author | Andrew Tridgell <tridge@samba.org> | 2006-09-10 10:30:10 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2006-09-10 10:30:10 +0000 |
commit | fb89b611312ece0d9b7784bf27fe952c9dc94e17 (patch) | |
tree | ed7be1a7a84437e30d282f7d538354696b5dc44c /source/lib | |
parent | a29226f4e73781a7c2aede4d6190e4b27eb89ec8 (diff) | |
download | samba-fb89b611312ece0d9b7784bf27fe952c9dc94e17.tar.gz samba-fb89b611312ece0d9b7784bf27fe952c9dc94e17.tar.xz samba-fb89b611312ece0d9b7784bf27fe952c9dc94e17.zip |
r18323: this function returns a pointer, not a bool
Diffstat (limited to 'source/lib')
-rw-r--r-- | source/lib/samba3/smbpasswd.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source/lib/samba3/smbpasswd.c b/source/lib/samba3/smbpasswd.c index acba763371f..c19e90219f1 100644 --- a/source/lib/samba3/smbpasswd.c +++ b/source/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); |