summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/signaler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/signaler.cpp b/src/signaler.cpp
index 8fff9b4..9b8f1d7 100644
--- a/src/signaler.cpp
+++ b/src/signaler.cpp
@@ -138,7 +138,7 @@ static int make_fdpair (xs::fd_t *r_, xs::fd_t *w_)
wsa_assert (rc != SOCKET_ERROR);
// Create the writer socket.
- *w_ = WSASocket (AF_INET, SOCK_STREAM, 0, NULL, 0, 0);
+ *w_ = xs::open_socket (AF_INET, SOCK_STREAM, 0);
if (*w_ == xs::retired_fd) {
rc = closesocket (listener);
wsa_assert (rc != SOCKET_ERROR);