summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-10-13 20:00:22 +1100
committerAndrew Tridgell <tridge@samba.org>2010-10-13 11:00:04 +0000
commitca4864cce695fa1530d8aab50dd82566fc67c6e3 (patch)
tree46b21ff43a1d9e5e5d7b30049ef3de05d725992a
parent261628d1e49921eac143f8ad0167620f95db1a33 (diff)
downloadsamba-ca4864cce695fa1530d8aab50dd82566fc67c6e3.tar.gz
samba-ca4864cce695fa1530d8aab50dd82566fc67c6e3.tar.bz2
samba-ca4864cce695fa1530d8aab50dd82566fc67c6e3.zip
s4-torture: zero all of trans before the test starts
-rw-r--r--source4/torture/dfs/common.c2
1 files changed, 1 insertions, 1 deletions
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,