diff --git a/idevice/src/tcp/adapter.rs b/idevice/src/tcp/adapter.rs index 5222c5f..2f06326 100644 --- a/idevice/src/tcp/adapter.rs +++ b/idevice/src/tcp/adapter.rs @@ -370,9 +370,7 @@ impl Adapter { continue; } - println!("flushing..."); 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 if let Some(state) = self.states.get_mut(&state.host_port) { diff --git a/idevice/src/xpc/format.rs b/idevice/src/xpc/format.rs index db42e15..7ae053c 100644 --- a/idevice/src/xpc/format.rs +++ b/idevice/src/xpc/format.rs @@ -217,7 +217,6 @@ impl XPCObject { } pub fn decode(buf: &[u8]) -> Result { - debug!("Decoding {buf:02X?}"); if buf.len() < 8 { return Err(IdeviceError::NotEnoughBytes(buf.len(), 8)); } @@ -408,7 +407,6 @@ impl XPCMessage { } pub fn decode(data: &[u8]) -> Result { - debug!("Decoding {data:02X?}"); if data.len() < 24 { Err(IdeviceError::NotEnoughBytes(data.len(), 24))? }