diff options
author | Volker Lendecke <vl@samba.org> | 2013-04-17 12:34:14 +0200 |
---|---|---|
committer | Richard Sharpe <realrichardsharpe@gmail.com> | 2013-04-27 07:22:33 -0700 |
commit | 27e9115eb01f02d5d07d2cf35887f99ff8d823b8 (patch) | |
tree | b4d8cbc373090360197c0accd13c28174e8035d9 | |
parent | 5185460067229a342ddf3951ecc968017c2ed4df (diff) | |
download | samba-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>
-rw-r--r-- | source4/torture/smb2/util.c | 2 |
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; |