another error to not report
authorChristian Grothoff <christian@grothoff.org>
Wed, 17 Nov 2010 10:23:00 +0000 (10:23 +0000)
committerChristian Grothoff <christian@grothoff.org>
Wed, 17 Nov 2010 10:23:00 +0000 (10:23 +0000)
src/util/connection.c

index 07f44fc512034415afdb3cbf65898b33c2a01411..aa5db91bf41e1a14976a4c1ce21f4584635ce5a5 100644 (file)
@@ -499,7 +499,8 @@ destroy_continuation (void *cls,
       if (sock->persist != GNUNET_YES)
       {
         if ( (GNUNET_YES != GNUNET_NETWORK_socket_shutdown (sock->sock, SHUT_RDWR)) &&
-            (errno != ENOTCONN) )
+            (errno != ENOTCONN) &&
+             (errno != ECONNRESET) )
           GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "shutdown");
       }
     }