mirror of https://github.com/nodejs/node.git
(evcom) SOL_SOCKET got renamed in socket,stream renaming
This was breaking the build on Macintosh.pull/22966/head
parent
738d20f6f0
commit
ca0dda797a
|
@ -656,7 +656,7 @@ accept_connection (evcom_server *server)
|
|||
|
||||
#ifdef SO_NOSIGPIPE
|
||||
int flags = 1;
|
||||
int r = setsockopt(fd, SOL_STREAM, SO_NOSIGPIPE, &flags, sizeof(flags));
|
||||
int r = setsockopt(fd, SOL_SOCKET, SO_NOSIGPIPE, &flags, sizeof(flags));
|
||||
if (r < 0) goto error;
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue