]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
winbindd: fix break out early condition in fill_grent_mem().
authorMichael Adam <obnox@samba.org>
Mon, 7 Apr 2008 14:38:14 +0000 (16:38 +0200)
committerMichael Adam <obnox@samba.org>
Mon, 7 Apr 2008 14:38:14 +0000 (16:38 +0200)
if (!&new_glist) would always be skipped, if (new_glist == NULL) is
what must have been meant...

Michael

source/winbindd/winbindd_group.c

index 5dbd8c55a5d59663c9a79bab68ea3a60b87b4561..d5d3accec10d452055c5354ae8b5c2e5fa5f65f9 100644 (file)
@@ -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 */