From 3f85405be0465edf06feef96657d2b5d287b064e Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Wed, 21 Mar 2007 17:43:49 +0000 Subject: r21913: fix one bug in build 717: correctly check the return from sid_peek_check_rid() when trying to find a matching domain (This used to be commit c63bc300376e5be10585366013449a359b0778c1) --- source3/nsswitch/winbindd_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/nsswitch/winbindd_util.c') diff --git a/source3/nsswitch/winbindd_util.c b/source3/nsswitch/winbindd_util.c index b0529be4fb..b649dc4768 100644 --- a/source3/nsswitch/winbindd_util.c +++ b/source3/nsswitch/winbindd_util.c @@ -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; } } -- cgit