diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-11-09 20:42:34 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-11-09 20:42:34 +0000 |
commit | e0dd7bcc0b9417f5bbd2bf910ec8c6a967a66c77 (patch) | |
tree | 46321afc38ced81638d5ec4a45ccb5af8c59a5c1 /src/util/connection.c | |
parent | de6cec5c15565102ab91799243fe193958d62233 (diff) | |
download | gnunet-e0dd7bcc0b9417f5bbd2bf910ec8c6a967a66c77.tar.gz gnunet-e0dd7bcc0b9417f5bbd2bf910ec8c6a967a66c77.zip |
suppress warning
Diffstat (limited to 'src/util/connection.c')
-rw-r--r-- | src/util/connection.c | 3 |
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 | } |