Fix Redox build, broken in ecbb896b9eb2acadefde57be493e4298c1aa04a3
This commit is contained in:
parent
bd62230fbd
commit
87f6d6249c
@ -17,7 +17,6 @@ use sys::fs::{File, OpenOptions};
|
||||
use sys::syscall::TimeSpec;
|
||||
use sys_common::{AsInner, FromInner, IntoInner};
|
||||
use time::Duration;
|
||||
use vec::Vec;
|
||||
|
||||
use super::{path_to_peer_addr, path_to_local_addr};
|
||||
|
||||
|
@ -49,8 +49,8 @@ pub fn read2(p1: AnonPipe,
|
||||
//FIXME: Use event based I/O multiplexing
|
||||
//unimplemented!()
|
||||
|
||||
p1.read_to_end(v1)?;
|
||||
p2.read_to_end(v2)?;
|
||||
p1.0.read_to_end(v1)?;
|
||||
p2.0.read_to_end(v2)?;
|
||||
|
||||
Ok(())
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user