mirror of
https://github.com/netbirdio/IronRDP.git
synced 2026-05-22 18:43:12 -07:00
fix(server): fix unnecessary qualification
705 | rdp::headers::ShareControlPdu::Data(header) => match header.share_data_pdu {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: requested on the command line with `-W unused-qualifications`
help: remove the unnecessary path segments
|
705 - rdp::headers::ShareControlPdu::Data(header) => match header.share_data_pdu {
705 + ShareControlPdu::Data(header) => match header.share_data_pdu {
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
committed by
Benoît Cortier
parent
158e78ef04
commit
ba49456236
@@ -705,7 +705,7 @@ impl RdpServer {
|
||||
let control: rdp::headers::ShareControlHeader = decode(data.user_data.as_ref())?;
|
||||
|
||||
match control.share_control_pdu {
|
||||
rdp::headers::ShareControlPdu::Data(header) => match header.share_data_pdu {
|
||||
ShareControlPdu::Data(header) => match header.share_data_pdu {
|
||||
rdp::headers::ShareDataPdu::Input(pdu) => {
|
||||
self.handle_input_event(pdu).await;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user