modified: src/client.rs
All checks were successful
gitea/Frida-android-native/pipeline/head This commit looks good

This commit is contained in:
Michael Wain 2024-10-08 04:21:27 +03:00
parent 3b48e75392
commit defb019000

View File

@ -34,7 +34,7 @@ pub async fn client_mode(client_config: ClientConfiguration, fd: i32, env: &JNIE
ltx.send(format!("FD: {:?}", &fd).as_bytes().to_vec()); ltx.send(format!("FD: {:?}", &fd).as_bytes().to_vec());
ltx.send("So exhausting".as_bytes().to_vec()); ltx.send("So exhausting".as_bytes().to_vec());
let mut dev = unsafe { File::from_raw_fd(fd) }; let mut dev = unsafe { File::from_raw_fd(fd) };
let mut dev1 = dev.try_clone().unwrap(); let mut dev1 = unsafe { File::from_raw_fd(fd) };
let mut dev_reader = BufReader::new(dev); let mut dev_reader = BufReader::new(dev);
let mut dev_writer = BufWriter::new(dev1); let mut dev_writer = BufWriter::new(dev1);