commit e3994e2a7f7a3aa2766f5494fbd6d8b05e475772 parent 41a8c73e4c074d8de04ae81eea6bd505c7311dca Author: Christian Grothoff <christian@grothoff.org> Date: Tue, 6 Sep 2016 22:05:27 +0000 -use portable MHD_socket_pair Diffstat:
| M | src/microhttpd/response.c | | | 6 | +----- |
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git 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;