From 27e9115eb01f02d5d07d2cf35887f99ff8d823b8 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 17 Apr 2013 12:34:14 +0200 Subject: torture: Use ZERO_STRUCTPN instead of explicit deref Signed-off-by: Volker Lendecke --- source4/torture/smb2/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/torture/smb2') 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; -- cgit