Skip to content

Commit 7584002

Browse files
authored
Merge pull request #10 from 2140-dev/8-16-ctl-flow
Fix control flow in `OpenWriter`
2 parents ffd48a8 + 62b53c6 commit 7584002

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/net.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ impl OpenWriter {
229229
.write_message(network_message, &mut self.tcp_stream)?;
230230
}
231231
Err(e) => match e {
232-
mpsc::RecvTimeoutError::Timeout => continue,
232+
mpsc::RecvTimeoutError::Timeout => (),
233233
_ => return Ok(()),
234234
},
235235
}

0 commit comments

Comments
 (0)