]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
r21913: fix one bug in build 717: correctly check the return from sid_peek_check_rid...
authorGerald Carter <jerry@samba.org>
Wed, 21 Mar 2007 17:43:49 +0000 (17:43 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:18:48 +0000 (12:18 -0500)
source/nsswitch/winbindd_util.c

index b0529be4fbb643d7a429fbacf2310357bb30ac53..b649dc4768a846d775bf97b83d01b2c5e2296e9c 100644 (file)
@@ -608,7 +608,7 @@ struct winbindd_domain *find_domain_from_sid_noinit(const DOM_SID *sid)
                 * 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;
                }
        }