From bc5f19cb28e26206e216396d6561f05d77cf9ffa Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Mon, 7 Apr 2008 16:38:14 +0200 Subject: winbindd: fix break out early condition in fill_grent_mem(). if (!&new_glist) would always be skipped, if (new_glist == NULL) is what must have been meant... Michael (This used to be commit c1b60cdecff2a53f0a75a432a1ad7730eb734908) --- source3/winbindd/winbindd_group.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/winbindd/winbindd_group.c b/source3/winbindd/winbindd_group.c index 5dbd8c55a5..d5d3accec1 100644 --- a/source3/winbindd/winbindd_group.c +++ b/source3/winbindd/winbindd_group.c @@ -567,7 +567,7 @@ static bool fill_grent_mem(struct winbindd_domain *domain, /* If we have no more groups to expand, break out early */ - if ( !&new_glist ) + if (new_glist == NULL) break; /* One more round */ -- cgit