From: Christian Grothoff Date: Tue, 9 Nov 2010 20:42:34 +0000 (+0000) Subject: suppress warning X-Git-Tag: initial-import-from-subversion-38251~19785 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e0dd7bcc0b9417f5bbd2bf910ec8c6a967a66c77;p=oweals%2Fgnunet.git suppress warning --- diff --git a/src/util/connection.c b/src/util/connection.c index 3f9690c0c..606738061 100644 --- a/src/util/connection.c +++ b/src/util/connection.c @@ -498,7 +498,8 @@ destroy_continuation (void *cls, #endif if (sock->persist != GNUNET_YES) { - if (GNUNET_YES != GNUNET_NETWORK_socket_shutdown (sock->sock, SHUT_RDWR)) + if ( (GNUNET_YES != GNUNET_NETWORK_socket_shutdown (sock->sock, SHUT_RDWR)) && + (errno != ENOTCON) ) GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "shutdown"); } }