From: Christian Grothoff Date: Tue, 8 Dec 2009 10:28:46 +0000 (+0000) Subject: fix X-Git-Tag: initial-import-from-subversion-38251~23013 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=82a795830f72d29008f2a416a9d62fc10e41aa2c;p=oweals%2Fgnunet.git fix --- diff --git a/src/util/connection.c b/src/util/connection.c index 16ec8dcea..b1e13a663 100644 --- a/src/util/connection.c +++ b/src/util/connection.c @@ -1377,9 +1377,7 @@ RETRY: #if DEBUG_CONNECTION GNUNET_log_strerror (GNUNET_ERROR_TYPE_DEBUG, "send"); #endif - GNUNET_NETWORK_socket_shutdown (sock->sock, SHUT_RDWR); - GNUNET_break (GNUNET_OK == GNUNET_NETWORK_socket_close (sock->sock)); - sock->sock = NULL; + GNUNET_NETWORK_socket_shutdown (sock->sock, SHUT_WR); transmit_error (sock); return; }