Skip to content
This repository
Browse code

(evcom) SOL_SOCKET got renamed in socket,stream renaming

This was breaking the build on Macintosh.
  • Loading branch information...
commit ca0dda797a7282c9badaaeee80a24ba2ea56bee4 1 parent 738d20f
ry authored August 10, 2009

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  deps/evcom/evcom.c
2  deps/evcom/evcom.c
@@ -656,7 +656,7 @@ accept_connection (evcom_server *server)
656 656
   
657 657
 #ifdef SO_NOSIGPIPE
658 658
   int flags = 1;
659  
-  int r = setsockopt(fd, SOL_STREAM, SO_NOSIGPIPE, &flags, sizeof(flags));
  659
+  int r = setsockopt(fd, SOL_SOCKET, SO_NOSIGPIPE, &flags, sizeof(flags));
660 660
   if (r < 0) goto error;
661 661
 #endif
662 662
 

0 notes on commit ca0dda7

Please sign in to comment.
Something went wrong with that request. Please try again.