Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
mhils committed Dec 18, 2023
1 parent 204910c commit eecf6cf
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions mitmproxy-windows/redirector/src/main2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -420,9 +420,7 @@ async fn handle_ipc(
}
}
},
r = ipc_rx.recv() => {
let Some(packet) = r else { break };

Some(packet) = ipc_rx.recv() => {
packet.encode(&mut buf.as_mut_slice())?;
let len = packet.encoded_len();

Expand Down

0 comments on commit eecf6cf

Please sign in to comment.