summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-07-01 14:24:47 +0200
committerMichael Adam <obnox@samba.org>2008-08-13 00:01:23 +0200
commite3ec81c519716fe50fd4d1b5941195baebe5be46 (patch)
tree5e1e1a74eaebe7fae4813ae83a555f13a6387a17 /source3/winbindd
parent0a60b893352887492c25c996624a70cff0d543d8 (diff)
downloadsamba-e3ec81c519716fe50fd4d1b5941195baebe5be46.tar.gz
samba-e3ec81c519716fe50fd4d1b5941195baebe5be46.tar.bz2
samba-e3ec81c519716fe50fd4d1b5941195baebe5be46.zip
Attempt to fix the build on Irix CC
(cherry picked from commit 666bf8456ac44cbbbd5524af2bf4fd89e18ddf62) (This used to be commit 8819c51809cabe6ad0843f3838de53e785a10b47)
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/winbindd_async.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_async.c b/source3/winbindd/winbindd_async.c
index e47666462e..1481aed8e1 100644
--- a/source3/winbindd/winbindd_async.c
+++ b/source3/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);