Remove testing logging

This commit is contained in:
Jackson Coxson
2025-05-23 01:36:36 -06:00
parent 525136662e
commit de4a4e2722
2 changed files with 0 additions and 4 deletions

View File

@@ -370,9 +370,7 @@ impl Adapter {
continue; continue;
} }
println!("flushing...");
self.psh(&writer_buffer, state.host_port).await.ok(); // don't care self.psh(&writer_buffer, state.host_port).await.ok(); // don't care
println!("flushed {} bytes", writer_buffer.len());
// we have to borrow mutably after self.psh // we have to borrow mutably after self.psh
if let Some(state) = self.states.get_mut(&state.host_port) { if let Some(state) = self.states.get_mut(&state.host_port) {

View File

@@ -217,7 +217,6 @@ impl XPCObject {
} }
pub fn decode(buf: &[u8]) -> Result<Self, IdeviceError> { pub fn decode(buf: &[u8]) -> Result<Self, IdeviceError> {
debug!("Decoding {buf:02X?}");
if buf.len() < 8 { if buf.len() < 8 {
return Err(IdeviceError::NotEnoughBytes(buf.len(), 8)); return Err(IdeviceError::NotEnoughBytes(buf.len(), 8));
} }
@@ -408,7 +407,6 @@ impl XPCMessage {
} }
pub fn decode(data: &[u8]) -> Result<XPCMessage, IdeviceError> { pub fn decode(data: &[u8]) -> Result<XPCMessage, IdeviceError> {
debug!("Decoding {data:02X?}");
if data.len() < 24 { if data.len() < 24 {
Err(IdeviceError::NotEnoughBytes(data.len(), 24))? Err(IdeviceError::NotEnoughBytes(data.len(), 24))?
} }