Commit 1477b64d authored by Max Kellermann's avatar Max Kellermann

Merge branch 'patch-2' of git://github.com/HyShai/MPD

Closes #343
parents a2c108f5 18c042d4
...@@ -5,6 +5,8 @@ ver 0.21.4 (not yet released) ...@@ -5,6 +5,8 @@ ver 0.21.4 (not yet released)
* output * output
- httpd: declare protocol "HTTP/1.1" instead of "ICY" - httpd: declare protocol "HTTP/1.1" instead of "ICY"
* remove libwrap support * remove libwrap support
* Windows
- fix "Failed to accept connection: unknown error"
* fix Haiku build * fix Haiku build
ver 0.21.3 (2018/11/16) ver 0.21.3 (2018/11/16)
......
...@@ -102,7 +102,7 @@ PoorSocketPair(int fd[2]) ...@@ -102,7 +102,7 @@ PoorSocketPair(int fd[2])
assert (fd != nullptr); assert (fd != nullptr);
UniqueSocketDescriptor listen_socket; 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"); throw MakeSocketError("Failed to create socket");
if (!listen_socket.Bind(IPv4Address(IPv4Address::Loopback(), 0))) if (!listen_socket.Bind(IPv4Address(IPv4Address::Loopback(), 0)))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment