aboutsummaryrefslogtreecommitdiff
path: root/src/util/connection.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/connection.c')
-rw-r--r--src/util/connection.c3
1 files changed, 2 insertions, 1 deletions
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,
498#endif 498#endif
499 if (sock->persist != GNUNET_YES) 499 if (sock->persist != GNUNET_YES)
500 { 500 {
501 if (GNUNET_YES != GNUNET_NETWORK_socket_shutdown (sock->sock, SHUT_RDWR)) 501 if ( (GNUNET_YES != GNUNET_NETWORK_socket_shutdown (sock->sock, SHUT_RDWR)) &&
502 (errno != ENOTCON) )
502 GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "shutdown"); 503 GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "shutdown");
503 } 504 }
504 } 505 }