mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
(evcom) SOL_SOCKET got renamed in socket,stream renaming
This was breaking the build on Macintosh.
This commit is contained in:
1 parent
738d20f6f0
commit
ca0dda797a
1 file changed
+1
-1
Vendored
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user