From 94d565b36bf733093195ddec013f3b4e0514945e Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Sat, 14 Oct 2006 01:57:59 +0000 Subject: r19272: Ensure we return 1 member in the optimized case. (This used to be commit cc6cdabf19e9a610be064e26fdf3a9d2a3c76c2c) --- source3/nsswitch/winbindd_group.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/nsswitch/winbindd_group.c') diff --git a/source3/nsswitch/winbindd_group.c b/source3/nsswitch/winbindd_group.c index 79d8e2970e..c838db923c 100644 --- a/source3/nsswitch/winbindd_group.c +++ b/source3/nsswitch/winbindd_group.c @@ -205,6 +205,7 @@ static BOOL fill_grent_mem(struct winbindd_domain *domain, *gr_mem = buf; *gr_mem_len = buf_len; + *num_gr_mem = 1; DEBUG(10, ("num_mem = %u, len = %u, mem = %s\n", (unsigned int)*num_gr_mem, (unsigned int)buf_len, *num_gr_mem ? buf : "NULL")); -- cgit