From: Michael Adam Date: Mon, 7 Apr 2008 14:38:14 +0000 (+0200) Subject: winbindd: fix break out early condition in fill_grent_mem(). X-Git-Tag: samba-3.3.0pre1~2879 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c1b60cdecff2a53f0a75a432a1ad7730eb734908;p=thirdparty%2Fsamba.git 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 --- diff --git a/source/winbindd/winbindd_group.c b/source/winbindd/winbindd_group.c index 5dbd8c55a5d..d5d3accec10 100644 --- a/source/winbindd/winbindd_group.c +++ b/source/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 */