Permalink
Browse files

(evcom) SOL_SOCKET got renamed in socket,stream renaming

This was breaking the build on Macintosh.
  • Loading branch information...
1 parent 738d20f commit ca0dda797a7282c9badaaeee80a24ba2ea56bee4 @ry ry committed Aug 10, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 deps/evcom/evcom.c
View
@@ -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

0 comments on commit ca0dda7

Please sign in to comment.