diff options
author | Ralph Boehme <slow@samba.org> | 2019-01-14 13:50:31 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2019-01-14 19:13:14 +0100 |
commit | 3672f02e4769da244d5c2ba82b46921a88fa9472 (patch) | |
tree | 89063460485fb8fa605825ccd9946b112f12730e /source3 | |
parent | 792b8d3f8338988c2288bc3dc58e72cacbba2154 (diff) | |
download | samba-3672f02e4769da244d5c2ba82b46921a88fa9472.tar.gz |
vfs: use struct initializer in smb_vfs_call_get_dos_attributes_send
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/vfs.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/smbd/vfs.c b/source3/smbd/vfs.c index 5e0ca091f7b..6d304f068de 100644 --- 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, |