mirror of
https://github.com/jkcoxson/idevice.git
synced 2026-03-02 14:36:16 +01:00
Remove testing logging
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -217,7 +217,6 @@ impl XPCObject {
|
||||
}
|
||||
|
||||
pub fn decode(buf: &[u8]) -> Result<Self, IdeviceError> {
|
||||
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<XPCMessage, IdeviceError> {
|
||||
debug!("Decoding {data:02X?}");
|
||||
if data.len() < 24 {
|
||||
Err(IdeviceError::NotEnoughBytes(data.len(), 24))?
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user