s3:libsmb: Fix C99 initializer in cli_smb2_fnum.c
authorAndreas Schneider <asn@samba.org>
Tue, 23 Apr 2019 09:03:27 +0000 (11:03 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Mon, 29 Apr 2019 16:04:28 +0000 (16:04 +0000)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/libsmb/cli_smb2_fnum.c

index 6a725cb15370d7362dfb66e5d3c24c8c24ef52e4..535beaab841e4d7c842871ee3ea802b9d870f0c0 100644 (file)
@@ -3072,9 +3072,9 @@ struct tevent_req *cli_smb2_query_mxac_send(TALLOC_CTX *mem_ctx,
                return NULL;
        }
        *state = (struct cli_smb2_mxac_state) {
-               state->ev = ev,
-               state->cli = cli,
-               state->fname = fname,
+               .ev = ev,
+               .cli = cli,
+               .fname = fname,
        };
 
        if (smbXcli_conn_protocol(cli->conn) < PROTOCOL_SMB2_02) {