summaryrefslogtreecommitdiff
path: root/src/microhttpd/response.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/response.c')
-rw-r--r--src/microhttpd/response.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/microhttpd/response.c b/src/microhttpd/response.c
index fc814e61..a1a300ea 100644
--- a/src/microhttpd/response.c
+++ b/src/microhttpd/response.c
@@ -710,11 +710,7 @@ MHD_response_execute_upgrade_ (struct MHD_Response *response,
char *buf;
int sv[2];
- /* FIXME: this is non-portable for now; W32 port pending... */
- if (0 != socketpair (AF_UNIX,
- SOCK_STREAM,
- 0,
- sv))
+ if (! MHD_socket_pair_ (sv))
{
free (urh);
return MHD_NO;