libsmb: Fix cli_smb2_get_reparse_point_fnum_send
authorVolker Lendecke <vl@samba.org>
Mon, 25 Mar 2019 08:11:51 +0000 (09:11 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 26 Mar 2019 03:03:23 +0000 (03:03 +0000)
Use the correct state variable type

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/libsmb/cli_smb2_fnum.c

index 38e46329fb01173dd0b940ee319ea47ade62d0ea..44786ca5912f8b686aa4c428afc92e33b89f5da7 100644 (file)
@@ -5131,7 +5131,7 @@ struct tevent_req *cli_smb2_get_reparse_point_fnum_send(
                                uint16_t fnum)
 {
        struct tevent_req *req, *subreq;
-       struct cli_smb2_set_reparse_point_fnum_state *state = NULL;
+       struct cli_smb2_get_reparse_point_fnum_state *state = NULL;
        NTSTATUS status;
 
        req = tevent_req_create(mem_ctx, &state,