Author: jerry Date: 2007-03-21 17:43:49 +0000 (Wed, 21 Mar 2007) New Revision: 21913
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=21913 Log: fix one bug in build 717: correctly check the return from sid_peek_check_rid() when trying to find a matching domain Modified: branches/SAMBA_3_0/source/nsswitch/winbindd_util.c Changeset: Modified: branches/SAMBA_3_0/source/nsswitch/winbindd_util.c =================================================================== --- branches/SAMBA_3_0/source/nsswitch/winbindd_util.c 2007-03-21 17:13:35 UTC (rev 21912) +++ branches/SAMBA_3_0/source/nsswitch/winbindd_util.c 2007-03-21 17:43:49 UTC (rev 21913) @@ -608,7 +608,7 @@ * to make sure that the SIDs we send to the backends are * as specific as possible. */ - if (sid_peek_check_rid(&domain->sid, sid, &discard) == 0) { + if (sid_peek_check_rid(&domain->sid, sid, &discard)) { return domain; } }