mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
xous: hosted: remove print!() monitoring network traffic
This was useful when tracking down network traffic issues. It is no longer useful. Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
a35a75b1f2
commit
8115c2e7cf
1 changed files with 0 additions and 2 deletions
|
|
@ -538,14 +538,12 @@ fn _xous_syscall_result(
|
|||
| crate::Message::MutableBorrow(ref mut memory_message) => {
|
||||
let data = vec![0u8; memory_message.buf.len()];
|
||||
let mut data = std::mem::ManuallyDrop::new(data);
|
||||
// println!("KERNEL: Reading {} bytes of data from network", data.len());
|
||||
if let Err(e) = stream.read_exact(&mut data) {
|
||||
eprintln!("Server shut down: {}", e);
|
||||
std::process::exit(0);
|
||||
}
|
||||
let len = data.len();
|
||||
let addr = data.as_mut_ptr();
|
||||
|
||||
memory_message.buf.addr = crate::MemoryAddress::new(addr as _).unwrap();
|
||||
memory_message.buf.size = crate::MemorySize::new(len).unwrap();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue