From 847d327d58d42ec2c56f672a01be189994537fa7 Mon Sep 17 00:00:00 2001 From: Milo Turner Date: Tue, 10 Mar 2020 20:58:14 -0400 Subject: [PATCH] hmm --- hptp-send/src/main.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hptp-send/src/main.rs b/hptp-send/src/main.rs index 0f2f80d..28f9170 100644 --- a/hptp-send/src/main.rs +++ b/hptp-send/src/main.rs @@ -161,13 +161,13 @@ where _ = timer => Evt::Timer, r = peer.recv() => match r { Ok(m) => Evt::Recv(m), - Err(peer::RecvError::Io { source }) => { - return Err(source.into()); - } Err(peer::RecvError::InvalidMessage { .. }) => { log.recv_corrupt().await; continue; } + Err(peer::RecvError::Io { source }) => { + return Err(source.into()); + } } );