message: Change log message from LogPrintf to LOG(NET, ...
diff: @@ -773,8 +773,9 @@ bool CloseSocket(SOCKET &hSocket)
  #else
  int ret = close(hSocket);
  #endif
  - if (ret) {
  - LogPrintf("Socket close failed: %d. Error: %s\n", hSocket, NetworkErrorString(WSAGetLastError()));
  + if (ret)
  + {
  + LOG(NET, "Socket close failed: %d. Error: %s\n", hSocket, NetworkErrorString(WSAGetLastError()));
  }
  hSocket = INVALID_SOCKET;
  return ret != SOCKET_ERROR;
  