| Index: runtime/bin/socket_win.cc
|
| diff --git a/runtime/bin/socket_win.cc b/runtime/bin/socket_win.cc
|
| index 4a9e2807e3f3d52c8197f53644230559c9ebbb73..baedfc09c8c3e682c1d1878541ed1a5a3ad1732a 100644
|
| --- a/runtime/bin/socket_win.cc
|
| +++ b/runtime/bin/socket_win.cc
|
| @@ -106,7 +106,6 @@ intptr_t Socket::GetPort(intptr_t fd) {
|
| if (getsockname(socket_handle->socket(),
|
| &raw.addr,
|
| &size) == SOCKET_ERROR) {
|
| - Log::PrintErr("Error getsockname: %d\n", WSAGetLastError());
|
| return 0;
|
| }
|
| return SocketAddress::GetAddrPort(&raw);
|
| @@ -557,7 +556,6 @@ static bool SetBlockingHelper(intptr_t fd, bool blocking) {
|
| u_long iMode = blocking ? 0 : 1;
|
| int status = ioctlsocket(handle->socket(), FIONBIO, &iMode);
|
| if (status != NO_ERROR) {
|
| - Log::PrintErr("ioctlsocket FIONBIO failed: %d\n", status);
|
| return false;
|
| }
|
| return true;
|
|
|