From: Volker Lendecke Date: Tue, 1 Jul 2008 12:24:47 +0000 (+0200) Subject: Attempt to fix the build on Irix CC X-Git-Tag: samba-3.3.0pre1~205 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8819c51809cabe6ad0843f3838de53e785a10b47;p=thirdparty%2Fsamba.git Attempt to fix the build on Irix CC (cherry picked from commit 666bf8456ac44cbbbd5524af2bf4fd89e18ddf62) --- diff --git a/source/winbindd/winbindd_async.c b/source/winbindd/winbindd_async.c index e47666462e2..1481aed8e1b 100644 --- a/source/winbindd/winbindd_async.c +++ b/source/winbindd/winbindd_async.c @@ -557,10 +557,12 @@ enum winbindd_result winbindd_dual_list_users(struct winbindd_domain *domain, enum winbindd_result winbindd_dual_list_groups(struct winbindd_domain *domain, struct winbindd_cli_state *state) { - struct getent_state groups = {}; + struct getent_state groups; char *extra_data = NULL; uint32_t extra_data_len = 0, i; + ZERO_STRUCT(groups); + /* Must copy domain into response first for debugging in parent */ fstrcpy(state->response.data.name.dom_name, domain->name); fstrcpy(groups.domain_name, domain->name);