diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-06-18 14:47:03 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-06-18 14:47:03 +0000 |
commit | 2be168f3924a38f2d4f9071ccf53e6a032e9087d (patch) | |
tree | 3a08e36cc944a2f8b63d40e9b893e3aee18dcf1a /src/util/connection.c | |
parent | 0ea8e006d5f5ef84e31e000607bd24a23f8fc1ed (diff) | |
download | gnunet-2be168f3924a38f2d4f9071ccf53e6a032e9087d.tar.gz gnunet-2be168f3924a38f2d4f9071ccf53e6a032e9087d.zip |
code clean up
Diffstat (limited to 'src/util/connection.c')
-rw-r--r-- | src/util/connection.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/util/connection.c b/src/util/connection.c index acbeca4ed..1f2624a28 100644 --- a/src/util/connection.c +++ b/src/util/connection.c | |||
@@ -529,11 +529,6 @@ destroy_continuation (void *cls, | |||
529 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 529 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
530 | "Destroy actually runs (%p)!\n", sock); | 530 | "Destroy actually runs (%p)!\n", sock); |
531 | #endif | 531 | #endif |
532 | if (sock->dns_active != NULL) | ||
533 | { | ||
534 | GNUNET_RESOLVER_request_cancel (sock->dns_active); | ||
535 | sock->dns_active = NULL; | ||
536 | } | ||
537 | while (NULL != (pos = sock->ap_head)) | 532 | while (NULL != (pos = sock->ap_head)) |
538 | { | 533 | { |
539 | GNUNET_break (GNUNET_OK == GNUNET_NETWORK_socket_close (pos->sock)); | 534 | GNUNET_break (GNUNET_OK == GNUNET_NETWORK_socket_close (pos->sock)); |