git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
792b8d3
)
vfs: use struct initializer in smb_vfs_call_get_dos_attributes_send
author
Ralph Boehme
<slow@samba.org>
Mon, 14 Jan 2019 12:50:31 +0000
(13:50 +0100)
committer
Jeremy Allison
<jra@samba.org>
Mon, 14 Jan 2019 18:13:14 +0000
(19:13 +0100)
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/vfs.c
patch
|
blob
|
history
diff --git
a/source3/smbd/vfs.c
b/source3/smbd/vfs.c
index 5e0ca091f7b01b3a50d7dc1f20aacb801322fc5a..6d304f068de302737927de60b39db4d374b36aeb 100644
(file)
--- a/
source3/smbd/vfs.c
+++ b/
source3/smbd/vfs.c
@@
-2409,7
+2409,10
@@
struct tevent_req *smb_vfs_call_get_dos_attributes_send(
}
VFS_FIND(get_dos_attributes_send);
- state->recv_fn = handle->fns->get_dos_attributes_recv_fn;
+
+ *state = (struct smb_vfs_call_get_dos_attributes_state) {
+ .recv_fn = handle->fns->get_dos_attributes_recv_fn,
+ };
subreq = handle->fns->get_dos_attributes_send_fn(mem_ctx,
ev,