summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-04-17 12:34:14 +0200
committerRichard Sharpe <realrichardsharpe@gmail.com>2013-04-27 07:22:33 -0700
commit27e9115eb01f02d5d07d2cf35887f99ff8d823b8 (patch)
treeb4d8cbc373090360197c0accd13c28174e8035d9 /source4
parent5185460067229a342ddf3951ecc968017c2ed4df (diff)
downloadsamba-27e9115eb01f02d5d07d2cf35887f99ff8d823b8.tar.gz
samba-27e9115eb01f02d5d07d2cf35887f99ff8d823b8.tar.bz2
samba-27e9115eb01f02d5d07d2cf35887f99ff8d823b8.zip
torture: Use ZERO_STRUCTPN instead of explicit deref
Signed-off-by: Volker Lendecke <vl@samba.org>
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/smb2/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/smb2/util.c b/source4/torture/smb2/util.c
index 59748b7e25..cb9a527737 100644
--- a/source4/torture/smb2/util.c
+++ b/source4/torture/smb2/util.c
@@ -692,7 +692,7 @@ void smb2_generic_create_share(struct smb2_create *io, struct smb2_lease *ls,
}
if (ls) {
- ZERO_STRUCT(*ls);
+ ZERO_STRUCTPN(ls);
ls->lease_key.data[0] = leasekey;
ls->lease_key.data[1] = ~leasekey;
ls->lease_state = leasestate;