summaryrefslogtreecommitdiff
path: root/source4/libcli/smb2
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-10-31 09:06:48 +0100
committerVolker Lendecke <vl@samba.org>2013-04-18 15:11:48 +0200
commit3c9846cafde28fb8d40ae81cafb03f2e2ec8d9e2 (patch)
tree25fb67e3251e16a2a57f91628649c91a1c49b0ec /source4/libcli/smb2
parent6c81893b342786d5f63aaa89e855e9378def50c3 (diff)
downloadsamba-3c9846cafde28fb8d40ae81cafb03f2e2ec8d9e2.tar.gz
samba-3c9846cafde28fb8d40ae81cafb03f2e2ec8d9e2.tar.bz2
samba-3c9846cafde28fb8d40ae81cafb03f2e2ec8d9e2.zip
s4:torture/smb2: add smb2_lease_v2_create_share() helper
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
Diffstat (limited to 'source4/libcli/smb2')
-rw-r--r--source4/libcli/smb2/create.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/smb2/create.c b/source4/libcli/smb2/create.c
index 6047a85d87..7267f92126 100644
--- a/source4/libcli/smb2/create.c
+++ b/source4/libcli/smb2/create.c
@@ -227,7 +227,7 @@ struct smb2_request *smb2_create_send(struct smb2_tree *tree, struct smb2_create
}
if (io->in.lease_request_v2) {
- struct smb2_lease *ls = &io->in.lease_request_v2;
+ struct smb2_lease *ls = io->in.lease_request_v2;
uint8_t data[52];
memcpy(&data[0], &ls->lease_key, 16);