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:
de6cec5
)
suppress warning
author
Christian Grothoff
<christian@grothoff.org>
Tue, 9 Nov 2010 20:42:34 +0000
(20:42 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Tue, 9 Nov 2010 20:42:34 +0000
(20:42 +0000)
src/util/connection.c
patch
|
blob
|
history
diff --git
a/src/util/connection.c
b/src/util/connection.c
index 3f9690c0c16d70eca853cb85104d38b14837deed..6067380619869f0547adae1ff47c783ee1f81ffc 100644
(file)
--- a/
src/util/connection.c
+++ b/
src/util/connection.c
@@
-498,7
+498,8
@@
destroy_continuation (void *cls,
#endif
if (sock->persist != GNUNET_YES)
{
- if (GNUNET_YES != GNUNET_NETWORK_socket_shutdown (sock->sock, SHUT_RDWR))
+ if ( (GNUNET_YES != GNUNET_NETWORK_socket_shutdown (sock->sock, SHUT_RDWR)) &&
+ (errno != ENOTCON) )
GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "shutdown");
}
}