diff options
Diffstat (limited to 'src/mesh/test_mesh_small.c')
-rw-r--r-- | src/mesh/test_mesh_small.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/mesh/test_mesh_small.c b/src/mesh/test_mesh_small.c index 54c5eb45f4..2757da47ce 100644 --- a/src/mesh/test_mesh_small.c +++ b/src/mesh/test_mesh_small.c @@ -769,8 +769,8 @@ run (void *cls, char *const *args, const char *cfgfile, mesh_peers = GNUNET_malloc (sizeof (uint16_t) * (num_peers + 1)); if (GNUNET_OK != - GNUNET_CONFIGURATION_get_value_number (testing_cfg, "test_mesh_small", - "wait_time", &temp_wait)) + GNUNET_CONFIGURATION_get_value_time (testing_cfg, "test_mesh_small", + "WAIT_TIME", &wait_time)) { GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Option test_mesh_small:wait_time is required!\n"); @@ -806,9 +806,6 @@ run (void *cls, char *const *args, const char *cfgfile, } } - wait_time = - GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, temp_wait); - if (GNUNET_YES == GNUNET_CONFIGURATION_get_value_string (cfg, "test_mesh_small", "output_file", &temp_str)) |