New to notify that we're done with the handshake
authorJeff Burdges <burdges@gnunet.org>
Fri, 31 Jul 2015 12:17:39 +0000 (12:17 +0000)
committerJeff Burdges <burdges@gnunet.org>
Fri, 31 Jul 2015 12:17:39 +0000 (12:17 +0000)
src/util/connection.c

index d6da55784e765aca117f19b01ade6e3efc87f636..3143aa5368657a44f46560b4a1c2e9c860f2303f 100644 (file)
@@ -798,8 +798,7 @@ try_connect_using_address (void *cls,
   if (NULL != connection->nth.notify_ready)
     delay =
         GNUNET_TIME_relative_min (delay,
-                                  GNUNET_TIME_absolute_get_remaining (connection->
-                                                                      nth.transmit_timeout));
+                                  GNUNET_TIME_absolute_get_remaining (connection->nth.transmit_timeout));
   if (NULL != connection->receiver)
     delay =
         GNUNET_TIME_relative_min (delay,
@@ -1605,6 +1604,7 @@ GNUNET_CONNECTION_acivate_proxied (struct GNUNET_CONNECTION_Handle *proxied)
   proxied->sock=cph->sock;
   cph->sock=NULL;
   GNUNET_CONNECTION_destroy (cph);
+  connect_success_continuation (proxied);
 }