aboutsummaryrefslogtreecommitdiff
path: root/src/testbed
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-07-08 17:53:55 +0000
committerChristian Grothoff <christian@grothoff.org>2016-07-08 17:53:55 +0000
commit36cb528db98a3ce8ff5927fa73cd0e722dfa515d (patch)
treeecf88780ea9c58955bd9febe8925807fceef7400 /src/testbed
parent08991f1a09f52270f51014edb6288a6799dbf05f (diff)
-ignore meaningless timeout status
Diffstat (limited to 'src/testbed')
-rw-r--r--src/testbed/gnunet-service-testbed_oc.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/testbed/gnunet-service-testbed_oc.c b/src/testbed/gnunet-service-testbed_oc.c
index 2f4062abe2..184da8055a 100644
--- a/src/testbed/gnunet-service-testbed_oc.c
+++ b/src/testbed/gnunet-service-testbed_oc.c
@@ -1712,7 +1712,6 @@ static void
rocc_hello_sent_cb (void *cls)
{
struct RemoteOverlayConnectCtx *rocc = cls;
- const struct GNUNET_SCHEDULER_TaskContext *tc;
rocc->ohh = NULL;
GNUNET_assert (NULL == rocc->attempt_connect_task_id);
@@ -1720,15 +1719,6 @@ rocc_hello_sent_cb (void *cls)
rocc->op_id,
GNUNET_i2s (&rocc->a_id),
rocc->peer->id);
- tc = GNUNET_SCHEDULER_get_task_context ();
- if (GNUNET_SCHEDULER_REASON_TIMEOUT == tc->reason)
- {
- GNUNET_break (0);
- rocc->attempt_connect_task_id =
- GNUNET_SCHEDULER_add_now (&attempt_connect_task,
- rocc);
- return;
- }
rocc->tcc.cgh_p2_ats =
GST_connection_pool_get_handle (rocc->peer->id,
rocc->peer->details.local.cfg,