From 76b4cc79e87633523498e11df680bb417a1bb059 Mon Sep 17 00:00:00 2001 From: Mark McCaskey Date: Wed, 20 Mar 2019 10:27:07 -0700 Subject: [PATCH] fix make debug-release --- lib/emscripten/src/syscalls/unix.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/emscripten/src/syscalls/unix.rs b/lib/emscripten/src/syscalls/unix.rs index 1102b7a59..ac332571d 100644 --- a/lib/emscripten/src/syscalls/unix.rs +++ b/lib/emscripten/src/syscalls/unix.rs @@ -282,7 +282,7 @@ pub fn ___syscall102(ctx: &mut Ctx, _which: c_int, mut varargs: VarArgs) -> c_in let _proper_address = address as *const GuestSockaddrIn; debug!( "=> address.sin_family: {:?}, address.sin_port: {:?}, address.sin_addr.s_addr: {:?}", - (*_proper_address).sin_family, (*_proper_address).sin_port, (*_proper_address).sin_addr.s_addr + unsafe { (*_proper_address).sin_family }, unsafe { (*_proper_address).sin_port }, unsafe { (*_proper_address).sin_addr.s_addr } ); let status = unsafe { bind(socket, address, address_len) };