this is a place to not remove the ats task... we are willing to wait
authorMatthias Wachs <wachs@net.in.tum.de>
Fri, 28 Oct 2011 08:44:41 +0000 (08:44 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Fri, 28 Oct 2011 08:44:41 +0000 (08:44 +0000)
src/transport/gnunet-service-transport_neighbours_3way.c

index b184162b20aeb77fafc99ab8dd7b18df2e3b37a3..9828ec7736ba42d5fbbac53d77c2a2983ab2a0e0 100644 (file)
@@ -1287,9 +1287,6 @@ GST_neighbours_try_connect (const struct GNUNET_PeerIdentity *target)
               GNUNET_i2s (&n->id));
 #endif
 
-  if (n->ats_suggest != GNUNET_SCHEDULER_NO_TASK)
-    GNUNET_SCHEDULER_cancel(n->ats_suggest);
-   n->ats_suggest = GNUNET_SCHEDULER_add_delayed (ATS_RESPONSE_TIMEOUT, ats_suggest_cancel, n);
    GNUNET_ATS_suggest_address (GST_ats, &n->id);
 }