mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
oops, fix a compile error. also try adding a flush()...this only made things worse??
This commit is contained in:
parent
56f9c654c0
commit
b470588285
2 changed files with 2 additions and 1 deletions
|
|
@ -263,7 +263,7 @@ pub(crate) fn std_tcp_peek(
|
||||||
pub(crate) fn std_tcp_can_close(tx_waiting: &Vec<Option<WaitingSocket>>, handle: SocketHandle) -> bool {
|
pub(crate) fn std_tcp_can_close(tx_waiting: &Vec<Option<WaitingSocket>>, handle: SocketHandle) -> bool {
|
||||||
for maybe_socket in tx_waiting.iter() {
|
for maybe_socket in tx_waiting.iter() {
|
||||||
if let Some(socket) = maybe_socket {
|
if let Some(socket) = maybe_socket {
|
||||||
if socket.handle.0 == handle.0 {
|
if socket.handle == handle {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -181,6 +181,7 @@ impl<'a> ShellCmdApi<'a> for NetCmd {
|
||||||
}
|
}
|
||||||
count += 1;
|
count += 1;
|
||||||
if count == 10 {
|
if count == 10 {
|
||||||
|
stream.flush().unwrap();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue