dereference port address in socket_server_open (#2222)
This commit is contained in:
@@ -6522,7 +6522,7 @@ impl Machine {
|
|||||||
if had_zero_port {
|
if had_zero_port {
|
||||||
self.machine_st.unify_fixnum(
|
self.machine_st.unify_fixnum(
|
||||||
Fixnum::build_with(port as i64),
|
Fixnum::build_with(port as i64),
|
||||||
self.machine_st.registers[2],
|
self.deref_register(2),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user