projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1253be5
)
fix
author
Christian Grothoff
<christian@grothoff.org>
Tue, 8 Dec 2009 10:28:46 +0000
(10:28 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Tue, 8 Dec 2009 10:28:46 +0000
(10:28 +0000)
src/util/connection.c
patch
|
blob
|
history
diff --git
a/src/util/connection.c
b/src/util/connection.c
index 16ec8dcead8b245a9508076b0740e54b02ed8062..b1e13a66385e66607be3b73b3f1fc510004f1027 100644
(file)
--- 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;
}