@@ -1026,7 +1026,7 @@ where
1026
1026
} ;
1027
1027
1028
1028
debug_assert ! ( connector. next_pdu_hint( ) . is_none( ) ) ;
1029
- let ( rdcleanpath_req , mut connector) : ( ironrdp_rdcleanpath:: RDCleanPathPdu , Box < dyn ConnectorCore > ) =
1029
+ let ( rdcleanpath_request , mut connector) : ( ironrdp_rdcleanpath:: RDCleanPathPdu , Box < dyn ConnectorCore > ) =
1030
1030
if let Some ( PreconnectionBlobPayload :: VmConnect ( vm_id) ) = pcb {
1031
1031
let rdcleanpath_req = ironrdp_rdcleanpath:: RDCleanPathPdu :: new_request (
1032
1032
None ,
@@ -1059,26 +1059,26 @@ where
1059
1059
( rdcleanpath_req, Box :: new ( connector) as Box < dyn ConnectorCore > )
1060
1060
} ;
1061
1061
1062
- let rdcleanpath_req = rdcleanpath_req
1062
+ let rdcleanpath_request = rdcleanpath_request
1063
1063
. to_der ( )
1064
1064
. map_err ( |e| connector:: custom_err!( "RDCleanPath request encode" , e) ) ?;
1065
1065
1066
1066
framed
1067
- . write_all ( & rdcleanpath_req )
1067
+ . write_all ( & rdcleanpath_request )
1068
1068
. await
1069
1069
. map_err ( |e| connector:: custom_err!( "couldn’t write RDCleanPath request" , e) ) ?;
1070
1070
1071
- let rdcleanpath_res = framed
1071
+ let rdcleanpath_result = framed
1072
1072
. read_by_hint ( & RDCLEANPATH_HINT )
1073
1073
. await
1074
1074
. map_err ( |e| connector:: custom_err!( "read RDCleanPath request" , e) ) ?;
1075
1075
1076
- let rdcleanpath_res = ironrdp_rdcleanpath:: RDCleanPathPdu :: from_der ( & rdcleanpath_res )
1076
+ let rdcleanpath_result = ironrdp_rdcleanpath:: RDCleanPathPdu :: from_der ( & rdcleanpath_result )
1077
1077
. map_err ( |e| connector:: custom_err!( "RDCleanPath response decode" , e) ) ?;
1078
1078
1079
- debug ! ( message = ?rdcleanpath_res , "Received RDCleanPath PDU" ) ;
1079
+ debug ! ( message = ?rdcleanpath_result , "Received RDCleanPath PDU" ) ;
1080
1080
1081
- let ( x224_connection_response, server_cert_chain) = match rdcleanpath_res
1081
+ let ( x224_connection_response, server_cert_chain) = match rdcleanpath_result
1082
1082
. into_enum ( )
1083
1083
. map_err ( |e| connector:: custom_err!( "invalid RDCleanPath PDU" , e) ) ?
1084
1084
{
0 commit comments