[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r5225 - GNUnet/src/util/network
From: |
gnunet |
Subject: |
[GNUnet-SVN] r5225 - GNUnet/src/util/network |
Date: |
Mon, 2 Jul 2007 11:53:38 -0600 (MDT) |
Author: grothoff
Date: 2007-07-02 11:53:38 -0600 (Mon, 02 Jul 2007)
New Revision: 5225
Modified:
GNUnet/src/util/network/io.c
Log:
more from Heikki
Modified: GNUnet/src/util/network/io.c
===================================================================
--- GNUnet/src/util/network/io.c 2007-07-02 07:53:53 UTC (rev 5224)
+++ GNUnet/src/util/network/io.c 2007-07-02 17:53:38 UTC (rev 5225)
@@ -116,7 +116,9 @@
if ( (0 != SHUTDOWN(s->handle,
SHUT_RDWR)) &&
#ifdef OSX
- (errno != EINVAL) && /* OS X returns EINVAL instead of ENOTCONN */
+ (errno != EINVAL) && /* OS X returns these instead of ENOTCONN */
+ (errno != EHOSTDOWN) &&
+ (errno != EHOSTUNREACH) &&
#endif
(errno != ENOTCONN) )
GE_LOG_STRERROR(s->ectx,
@@ -136,7 +138,9 @@
if ( (0 != SHUTDOWN(s->handle,
SHUT_RDWR)) &&
#ifdef OSX
- (errno != EINVAL) && /* OS X returns EINVAL instead of ENOTCONN */
+ (errno != EINVAL) && /* OS X returns these instead of ENOTCONN */
+ (errno != EHOSTDOWN) &&
+ (errno != EHOSTUNREACH) &&
#endif
(errno != ENOTCONN) )
GE_LOG_STRERROR(s->ectx,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r5225 - GNUnet/src/util/network,
gnunet <=