diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-09-06 22:05:27 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-09-06 22:05:27 +0000 |
commit | e3994e2a7f7a3aa2766f5494fbd6d8b05e475772 (patch) | |
tree | 1a1c120d110fafec364f30546846a937d85b6b3e | |
parent | 41a8c73e4c074d8de04ae81eea6bd505c7311dca (diff) |
-use portable MHD_socket_pair
-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, 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; |