diff options
Diffstat (limited to 'src/testbed/gnunet-service-testbed_oc.c')
-rw-r--r-- | src/testbed/gnunet-service-testbed_oc.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/testbed/gnunet-service-testbed_oc.c b/src/testbed/gnunet-service-testbed_oc.c index 7fdf14586..3199d71af 100644 --- a/src/testbed/gnunet-service-testbed_oc.c +++ b/src/testbed/gnunet-service-testbed_oc.c | |||
@@ -942,7 +942,6 @@ occ_cache_get_handle_core_cb (void *cls, struct GNUNET_CORE_Handle *ch, | |||
942 | occ->peer->details.local.cfg, | 942 | occ->peer->details.local.cfg, |
943 | p1_transport_connect_cache_callback, occ, | 943 | p1_transport_connect_cache_callback, occ, |
944 | NULL, NULL, NULL); | 944 | NULL, NULL, NULL); |
945 | return; | ||
946 | } | 945 | } |
947 | 946 | ||
948 | 947 | ||
@@ -998,13 +997,12 @@ registeredhost_registration_completion (void *cls, const char *emsg) | |||
998 | const struct GNUNET_CONFIGURATION_Handle *cfg; | 997 | const struct GNUNET_CONFIGURATION_Handle *cfg; |
999 | uint32_t peer2_host_id; | 998 | uint32_t peer2_host_id; |
1000 | 999 | ||
1001 | /* if (NULL != rhc->focc_dll_head) */ | ||
1002 | /* TESTBED_process_next_focc (rhc); */ | ||
1003 | peer2_host_id = GNUNET_TESTBED_host_get_id_ (rhc->reg_host); | 1000 | peer2_host_id = GNUNET_TESTBED_host_get_id_ (rhc->reg_host); |
1004 | GNUNET_assert (RHC_INIT == rhc->state); | 1001 | GNUNET_assert (RHC_INIT == rhc->state); |
1005 | GNUNET_assert (NULL == rhc->sub_op); | 1002 | GNUNET_assert (NULL == rhc->sub_op); |
1006 | if ((NULL == rhc->gateway2) || ((peer2_host_id < GST_host_list_size) /* Check if we have the needed config */ | 1003 | if ((NULL == rhc->gateway2) || |
1007 | && (NULL != GST_host_list[peer2_host_id]))) | 1004 | ( (peer2_host_id < GST_host_list_size) /* Check if we have the needed config */ |
1005 | && (NULL != GST_host_list[peer2_host_id]) ) ) | ||
1008 | { | 1006 | { |
1009 | rhc->state = RHC_LINK; | 1007 | rhc->state = RHC_LINK; |
1010 | cfg = | 1008 | cfg = |
@@ -1233,6 +1231,7 @@ GST_handle_overlay_connect (void *cls, struct GNUNET_SERVER_Client *client, | |||
1233 | if ((peer2_host_id >= GST_slave_list_size) || | 1231 | if ((peer2_host_id >= GST_slave_list_size) || |
1234 | (NULL == GST_slave_list[peer2_host_id])) | 1232 | (NULL == GST_slave_list[peer2_host_id])) |
1235 | { | 1233 | { |
1234 | GNUNET_break (0); | ||
1236 | LOG (GNUNET_ERROR_TYPE_WARNING, | 1235 | LOG (GNUNET_ERROR_TYPE_WARNING, |
1237 | "0x%llx: Configuration of peer2's controller missing for connecting peers" | 1236 | "0x%llx: Configuration of peer2's controller missing for connecting peers" |
1238 | "%u and %u\n", operation_id, p1, p2); | 1237 | "%u and %u\n", operation_id, p1, p2); |