mirror of
https://github.com/nodejs/node-v0.x-archive.git
synced 2026-04-28 03:01:10 -04:00
(evcom) SOL_SOCKET got renamed in socket,stream renaming
This was breaking the build on Macintosh.
This commit is contained in:
2
deps/evcom/evcom.c
vendored
2
deps/evcom/evcom.c
vendored
@@ -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