summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-07-01 14:24:47 +0200
committerKarolin Seeger <kseeger@samba.org>2008-07-01 14:33:07 +0200
commita5d2b6a0228634dda3e495e0cf86db551b11e4d7 (patch)
tree9f2a7a9d4e3e247e70d557df9318ddfe0aa36eb5
parentd6295bf03f82825ed299f8316e12014d3e748742 (diff)
downloadsamba-a5d2b6a0228634dda3e495e0cf86db551b11e4d7.tar.gz
Attempt to fix the build on Irix CCsamba-3.2.0
(cherry picked from commit 666bf8456ac44cbbbd5524af2bf4fd89e18ddf62)
-rw-r--r--source/winbindd/winbindd_async.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/winbindd/winbindd_async.c b/source/winbindd/winbindd_async.c
index 10b7e48154d..f29953d9bb3 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);