From ca4864cce695fa1530d8aab50dd82566fc67c6e3 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 13 Oct 2010 20:00:22 +1100 Subject: s4-torture: zero all of trans before the test starts --- source4/torture/dfs/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/torture/dfs') diff --git a/source4/torture/dfs/common.c b/source4/torture/dfs/common.c index f1cc10663b..5772c0d1a6 100644 --- a/source4/torture/dfs/common.c +++ b/source4/torture/dfs/common.c @@ -36,6 +36,7 @@ NTSTATUS dfs_cli_do_call(struct smbcli_tree *tree, uint16_t setup = TRANSACT2_GET_DFS_REFERRAL; struct smb_trans2 trans; + ZERO_STRUCT(trans); trans.in.max_param = 0; trans.in.max_data = 4096; trans.in.max_setup = 0; @@ -44,7 +45,6 @@ NTSTATUS dfs_cli_do_call(struct smbcli_tree *tree, trans.in.setup_count = 1; trans.in.setup = &setup; trans.in.trans_name = NULL; - ZERO_STRUCT(trans.out); ndr_err = ndr_push_struct_blob(&trans.in.params, tree, &ref->in.req, -- cgit