mirror of
https://github.com/jkcoxson/idevice.git
synced 2026-03-02 06:26:15 +01:00
Remove debug logging from tcp object stack
s
This commit is contained in:
@@ -8,7 +8,6 @@ use std::{
|
|||||||
sync::Arc,
|
sync::Arc,
|
||||||
};
|
};
|
||||||
|
|
||||||
use log::debug;
|
|
||||||
use tokio::sync::Mutex;
|
use tokio::sync::Mutex;
|
||||||
use tokio::{
|
use tokio::{
|
||||||
io::AsyncWriteExt,
|
io::AsyncWriteExt,
|
||||||
@@ -168,7 +167,6 @@ pub unsafe extern "C" fn idevice_tcp_eat_object_read(
|
|||||||
let lock = object.receiver.lock().await;
|
let lock = object.receiver.lock().await;
|
||||||
match lock.try_read(&mut buf) {
|
match lock.try_read(&mut buf) {
|
||||||
Ok(size) => {
|
Ok(size) => {
|
||||||
debug!("EATING");
|
|
||||||
let bytes = buf[..size].to_vec();
|
let bytes = buf[..size].to_vec();
|
||||||
let mut res = bytes.into_boxed_slice();
|
let mut res = bytes.into_boxed_slice();
|
||||||
unsafe {
|
unsafe {
|
||||||
|
|||||||
Reference in New Issue
Block a user