diff --git a/NEWS b/NEWS index cfe1b28c2..1ac9c6156 100644 --- a/NEWS +++ b/NEWS @@ -5,6 +5,8 @@ ver 0.21.4 (not yet released) * output - httpd: declare protocol "HTTP/1.1" instead of "ICY" * remove libwrap support +* Windows + - fix "Failed to accept connection: unknown error" * fix Haiku build ver 0.21.3 (2018/11/16) diff --git a/src/system/EventPipe.cxx b/src/system/EventPipe.cxx index 6d2be2a53..21fc523d9 100644 --- a/src/system/EventPipe.cxx +++ b/src/system/EventPipe.cxx @@ -102,7 +102,7 @@ PoorSocketPair(int fd[2]) assert (fd != nullptr); UniqueSocketDescriptor listen_socket; - if (!listen_socket.CreateNonBlock(AF_INET, SOCK_STREAM, IPPROTO_TCP)) + if (!listen_socket.Create(AF_INET, SOCK_STREAM, IPPROTO_TCP)) throw MakeSocketError("Failed to create socket"); if (!listen_socket.Bind(IPv4Address(IPv4Address::Loopback(), 0)))