diff options
author | grothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96> | 2009-12-08 10:28:46 +0000 |
---|---|---|
committer | grothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96> | 2009-12-08 10:28:46 +0000 |
commit | 3f1277c497a254c2c9daad452628c5e53edb79b3 (patch) | |
tree | 636526d2d44aeac895aff8d8a99e6ff2236eea79 /src | |
parent | da30923867632513c465f581b342b41509ac9e54 (diff) |
fix
git-svn-id: https://gnunet.org/svn/gnunet@9715 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src')
-rw-r--r-- | src/util/connection.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/util/connection.c b/src/util/connection.c index 16ec8dcead..b1e13a6638 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; } |