Commit 3424c8a9 authored by Stefan Weil's avatar Stefan Weil
Browse files

wxx: Fix broken TCP networking (regression)

parent c7b45f12
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -347,9 +347,4 @@ struct tcpcb *tcp_drop(struct tcpcb *tp, int err);
#define max(x,y) ((x) > (y) ? (x) : (y))
#endif

#ifdef _WIN32
#undef errno
#define errno (WSAGetLastError())
#endif

#endif
+1 −0
Original line number Diff line number Diff line
@@ -659,6 +659,7 @@ findso:
	  }

	  if ((tcp_fconnect(so, so->so_ffamily) == -1) &&
              (errno != EAGAIN) &&
              (errno != EINPROGRESS) && (errno != EWOULDBLOCK)
          ) {
	    uint8_t code;