diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-07-08 17:53:55 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-07-08 17:53:55 +0000 |
commit | 36cb528db98a3ce8ff5927fa73cd0e722dfa515d (patch) | |
tree | ecf88780ea9c58955bd9febe8925807fceef7400 /src | |
parent | 08991f1a09f52270f51014edb6288a6799dbf05f (diff) | |
download | gnunet-36cb528db98a3ce8ff5927fa73cd0e722dfa515d.tar.gz gnunet-36cb528db98a3ce8ff5927fa73cd0e722dfa515d.zip |
-ignore meaningless timeout status
Diffstat (limited to 'src')
-rw-r--r-- | src/testbed/gnunet-service-testbed_oc.c | 10 |
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 2f4062abe..184da8055 100644 --- a/src/testbed/gnunet-service-testbed_oc.c +++ b/src/testbed/gnunet-service-testbed_oc.c | |||
@@ -1712,7 +1712,6 @@ static void | |||
1712 | rocc_hello_sent_cb (void *cls) | 1712 | rocc_hello_sent_cb (void *cls) |
1713 | { | 1713 | { |
1714 | struct RemoteOverlayConnectCtx *rocc = cls; | 1714 | struct RemoteOverlayConnectCtx *rocc = cls; |
1715 | const struct GNUNET_SCHEDULER_TaskContext *tc; | ||
1716 | 1715 | ||
1717 | rocc->ohh = NULL; | 1716 | rocc->ohh = NULL; |
1718 | GNUNET_assert (NULL == rocc->attempt_connect_task_id); | 1717 | GNUNET_assert (NULL == rocc->attempt_connect_task_id); |
@@ -1720,15 +1719,6 @@ rocc_hello_sent_cb (void *cls) | |||
1720 | rocc->op_id, | 1719 | rocc->op_id, |
1721 | GNUNET_i2s (&rocc->a_id), | 1720 | GNUNET_i2s (&rocc->a_id), |
1722 | rocc->peer->id); | 1721 | rocc->peer->id); |
1723 | tc = GNUNET_SCHEDULER_get_task_context (); | ||
1724 | if (GNUNET_SCHEDULER_REASON_TIMEOUT == tc->reason) | ||
1725 | { | ||
1726 | GNUNET_break (0); | ||
1727 | rocc->attempt_connect_task_id = | ||
1728 | GNUNET_SCHEDULER_add_now (&attempt_connect_task, | ||
1729 | rocc); | ||
1730 | return; | ||
1731 | } | ||
1732 | rocc->tcc.cgh_p2_ats = | 1722 | rocc->tcc.cgh_p2_ats = |
1733 | GST_connection_pool_get_handle (rocc->peer->id, | 1723 | GST_connection_pool_get_handle (rocc->peer->id, |
1734 | rocc->peer->details.local.cfg, | 1724 | rocc->peer->details.local.cfg, |