diff options
Diffstat (limited to 'src/microhttpd/response.c')
-rw-r--r-- | src/microhttpd/response.c | 6 |
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, | |||
710 | char *buf; | 710 | char *buf; |
711 | int sv[2]; | 711 | int sv[2]; |
712 | 712 | ||
713 | /* FIXME: this is non-portable for now; W32 port pending... */ | 713 | if (! MHD_socket_pair_ (sv)) |
714 | if (0 != socketpair (AF_UNIX, | ||
715 | SOCK_STREAM, | ||
716 | 0, | ||
717 | sv)) | ||
718 | { | 714 | { |
719 | free (urh); | 715 | free (urh); |
720 | return MHD_NO; | 716 | return MHD_NO; |