mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-18 11:21:21 +00:00
Merge branch 'master' into feature/vm_refactor
This commit is contained in:
@ -366,9 +366,6 @@ pub extern "C" fn ___syscall102(
|
||||
let address_len: u32 = socket_varargs.get(instance);
|
||||
let address = instance.memory_offset_addr(0, address as usize) as *mut sockaddr;
|
||||
|
||||
// we convert address as a sockaddr (even if this is incorrect), to bypass the type
|
||||
// issue with libc bind
|
||||
|
||||
// Debug received address
|
||||
unsafe {
|
||||
let proper_address = address as *const GuestSockaddrIn;
|
||||
@ -438,6 +435,7 @@ pub extern "C" fn ___syscall102(
|
||||
unsafe {
|
||||
ioctl(fd, FIOCLEX);
|
||||
};
|
||||
|
||||
debug!("fd: {}", fd);
|
||||
|
||||
fd
|
||||
|
Reference in New Issue
Block a user