aboutsummaryrefslogtreecommitdiff
path: root/src/mesh/test_mesh_small_unicast_far.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesh/test_mesh_small_unicast_far.c')
-rw-r--r--src/mesh/test_mesh_small_unicast_far.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/mesh/test_mesh_small_unicast_far.c b/src/mesh/test_mesh_small_unicast_far.c
index cc9995b48..1708e96cd 100644
--- a/src/mesh/test_mesh_small_unicast_far.c
+++ b/src/mesh/test_mesh_small_unicast_far.c
@@ -479,8 +479,8 @@ run (void *cls, char *const *args, const char *cfgfile,
479 mesh_peers = GNUNET_malloc (sizeof (GNUNET_PEER_Id) * (num_peers + 1)); 479 mesh_peers = GNUNET_malloc (sizeof (GNUNET_PEER_Id) * (num_peers + 1));
480 480
481 if (GNUNET_OK != 481 if (GNUNET_OK !=
482 GNUNET_CONFIGURATION_get_value_number (testing_cfg, "test_mesh_small", 482 GNUNET_CONFIGURATION_get_value_time (testing_cfg, "test_mesh_small",
483 "wait_time", &temp_wait)) 483 "WAIT_TIME", &wait_time))
484 { 484 {
485 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, 485 GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
486 "Option test_mesh_small:wait_time is required!\n"); 486 "Option test_mesh_small:wait_time is required!\n");
@@ -516,9 +516,6 @@ run (void *cls, char *const *args, const char *cfgfile,
516 } 516 }
517 } 517 }
518 518
519 wait_time =
520 GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, temp_wait);
521
522 if (GNUNET_YES == 519 if (GNUNET_YES ==
523 GNUNET_CONFIGURATION_get_value_string (cfg, "test_mesh_small", 520 GNUNET_CONFIGURATION_get_value_string (cfg, "test_mesh_small",
524 "output_file", &temp_str)) 521 "output_file", &temp_str))