diff options
Diffstat (limited to 'src/util/connection.c')
-rw-r--r-- | src/util/connection.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util/connection.c b/src/util/connection.c index da7ba599d..6908144b7 100644 --- a/src/util/connection.c +++ b/src/util/connection.c | |||
@@ -323,6 +323,7 @@ GNUNET_CONNECTION_disable_corking (struct GNUNET_CONNECTION_Handle *sock) | |||
323 | return GNUNET_NETWORK_socket_disable_corking (sock->sock); | 323 | return GNUNET_NETWORK_socket_disable_corking (sock->sock); |
324 | } | 324 | } |
325 | 325 | ||
326 | |||
326 | /** | 327 | /** |
327 | * Create a socket handle by boxing an existing OS socket. The OS | 328 | * Create a socket handle by boxing an existing OS socket. The OS |
328 | * socket should henceforth be no longer used directly. | 329 | * socket should henceforth be no longer used directly. |
@@ -477,6 +478,7 @@ GNUNET_CONNECTION_create_from_accept (GNUNET_CONNECTION_AccessCheck access, | |||
477 | return ret; | 478 | return ret; |
478 | } | 479 | } |
479 | 480 | ||
481 | |||
480 | /** | 482 | /** |
481 | * Obtain the network address of the other party. | 483 | * Obtain the network address of the other party. |
482 | * | 484 | * |
@@ -1041,7 +1043,6 @@ GNUNET_CONNECTION_destroy (struct GNUNET_CONNECTION_Handle *sock, | |||
1041 | GNUNET_RESOLVER_request_cancel (sock->dns_active); | 1043 | GNUNET_RESOLVER_request_cancel (sock->dns_active); |
1042 | sock->dns_active = NULL; | 1044 | sock->dns_active = NULL; |
1043 | } | 1045 | } |
1044 | |||
1045 | GNUNET_assert (GNUNET_SCHEDULER_NO_TASK == sock->destroy_task); | 1046 | GNUNET_assert (GNUNET_SCHEDULER_NO_TASK == sock->destroy_task); |
1046 | sock->destroy_task = GNUNET_SCHEDULER_add_now (&destroy_continuation, sock); | 1047 | sock->destroy_task = GNUNET_SCHEDULER_add_now (&destroy_continuation, sock); |
1047 | } | 1048 | } |