mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-09-14 16:31:03 +03:00
port_forward: restore the ? the close removal left as a match
Dropping the explicit close_webrtc() from the parse-error arm left a match that only re-spells `?`; master just reworked this function, so the branch now leaves port_forward.rs untouched. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019aokqJuhjvB3kijXtAg5Ns
This commit is contained in:
@@ -201,12 +201,7 @@ async fn connect_and_login(
|
|||||||
received = true;
|
received = true;
|
||||||
interface.update_received(true);
|
interface.update_received(true);
|
||||||
}
|
}
|
||||||
let msg_in = match Message::parse_from_bytes(&bytes) {
|
let msg_in = Message::parse_from_bytes(&bytes)?;
|
||||||
Ok(msg) => msg,
|
|
||||||
Err(err) => {
|
|
||||||
return Err(err.into());
|
|
||||||
}
|
|
||||||
};
|
|
||||||
match msg_in.union {
|
match msg_in.union {
|
||||||
Some(message::Union::Hash(hash)) => {
|
Some(message::Union::Hash(hash)) => {
|
||||||
challenge = Some(hash.clone());
|
challenge = Some(hash.clone());
|
||||||
|
|||||||
Reference in New Issue
Block a user