svn commit: samba r18323 - in branches/SAMBA_4_0/source/lib/samba3:
.
tridge at samba.org
tridge at samba.org
Sun Sep 10 10:30:11 GMT 2006
Author: tridge
Date: 2006-09-10 10:30:10 +0000 (Sun, 10 Sep 2006)
New Revision: 18323
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18323
Log:
this function returns a pointer, not a bool
Modified:
branches/SAMBA_4_0/source/lib/samba3/smbpasswd.c
Changeset:
Modified: branches/SAMBA_4_0/source/lib/samba3/smbpasswd.c
===================================================================
--- branches/SAMBA_4_0/source/lib/samba3/smbpasswd.c 2006-09-10 10:02:10 UTC (rev 18322)
+++ branches/SAMBA_4_0/source/lib/samba3/smbpasswd.c 2006-09-10 10:30:10 UTC (rev 18323)
@@ -77,9 +77,8 @@
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);
More information about the samba-cvs
mailing list