summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-04-07 16:38:14 +0200
committerMichael Adam <obnox@samba.org>2008-04-07 16:38:14 +0200
commitbc5f19cb28e26206e216396d6561f05d77cf9ffa (patch)
tree3bd5e5235fce6acfb6110c9181a15b5e8c39c0b0
parent66dad54c723d971aeb9c2dc11f2e3fa9734597fb (diff)
downloadsamba-bc5f19cb28e26206e216396d6561f05d77cf9ffa.tar.gz
samba-bc5f19cb28e26206e216396d6561f05d77cf9ffa.tar.bz2
samba-bc5f19cb28e26206e216396d6561f05d77cf9ffa.zip
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)
-rw-r--r--source3/winbindd/winbindd_group.c2
1 files changed, 1 insertions, 1 deletions
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 */