modified: frida_core/src/android_tun.rs
This commit is contained in:
parent
eb15b4584e
commit
76491e30ff
@ -23,9 +23,9 @@ pub struct DeviceReader {
|
|||||||
|
|
||||||
impl DeviceWriter {
|
impl DeviceWriter {
|
||||||
pub async fn write(&mut self, buf: &Vec<u8>) -> Result<usize, Box<dyn Error>> {
|
pub async fn write(&mut self, buf: &Vec<u8>) -> Result<usize, Box<dyn Error>> {
|
||||||
if self.writer.is_some() {
|
/*if self.writer.is_some() {
|
||||||
return Ok(self.writer.unwrap().write(buf).await?);
|
return Ok(self.writer.unwrap().write(buf).await?);
|
||||||
}
|
}*/
|
||||||
Ok(0)
|
Ok(0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user