gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r3983 - GNUnet/src/util/network


From: grothoff
Subject: [GNUnet-SVN] r3983 - GNUnet/src/util/network
Date: Tue, 19 Dec 2006 16:53:21 -0800 (PST)

Author: grothoff
Date: 2006-12-19 16:53:19 -0800 (Tue, 19 Dec 2006)
New Revision: 3983

Modified:
   GNUnet/src/util/network/io.c
Log:
osx sigpipe

Modified: GNUnet/src/util/network/io.c
===================================================================
--- GNUnet/src/util/network/io.c        2006-12-20 00:44:37 UTC (rev 3982)
+++ GNUnet/src/util/network/io.c        2006-12-20 00:53:19 UTC (rev 3983)
@@ -203,7 +203,7 @@
   if (0 == (nc & NC_IgnoreInt))
     flags |= MSG_NOSIGNAL;
 #elif OSX
-  socket_set_nosigpipe(s, 0 != (nc & NC_IgnoreInt));
+  socket_set_nosigpipe(s, 0 == (nc & NC_IgnoreInt));
   if (0 == (nc & NC_Blocking))
     flags |= MSG_DONTWAIT;
 #elif SOMEBSD || SOLARIS
@@ -279,7 +279,7 @@
   if (0 == (nc & NC_IgnoreInt))
     flags |= MSG_NOSIGNAL;
 #elif OSX
-  socket_set_nosigpipe(s, 0 != (nc & NC_IgnoreInt));
+  socket_set_nosigpipe(s, 0 == (nc & NC_IgnoreInt));
   if (0 == (nc & NC_Blocking))
     flags |= MSG_DONTWAIT;
 #elif SOMEBSD || SOLARIS
@@ -355,7 +355,7 @@
   if (0 == (nc & NC_Blocking))
     flags |= MSG_DONTWAIT;
 #elif OSX
-  socket_set_nosigpipe(s, 0 != (nc & NC_IgnoreInt));
+  socket_set_nosigpipe(s, 0 == (nc & NC_IgnoreInt));
   if (0 == (nc & NC_Blocking))
     flags |= MSG_DONTWAIT;
 #elif CYGWIN
@@ -432,7 +432,7 @@
   if (0 == (nc & NC_Blocking))
     flags |= MSG_DONTWAIT;
 #elif OSX
-  socket_set_nosigpipe(s, 0 != (nc & NC_IgnoreInt));
+  socket_set_nosigpipe(s, 0 == (nc & NC_IgnoreInt));
   if (0 == (nc & NC_Blocking))
     flags |= MSG_DONTWAIT;
 #elif CYGWIN





reply via email to

[Prev in Thread] Current Thread [Next in Thread]