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 54c5eb45f..2757da47c 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, | |||
769 | mesh_peers = GNUNET_malloc (sizeof (uint16_t) * (num_peers + 1)); | 769 | mesh_peers = GNUNET_malloc (sizeof (uint16_t) * (num_peers + 1)); |
770 | 770 | ||
771 | if (GNUNET_OK != | 771 | if (GNUNET_OK != |
772 | GNUNET_CONFIGURATION_get_value_number (testing_cfg, "test_mesh_small", | 772 | GNUNET_CONFIGURATION_get_value_time (testing_cfg, "test_mesh_small", |
773 | "wait_time", &temp_wait)) | 773 | "WAIT_TIME", &wait_time)) |
774 | { | 774 | { |
775 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | 775 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, |
776 | "Option test_mesh_small:wait_time is required!\n"); | 776 | "Option test_mesh_small:wait_time is required!\n"); |
@@ -806,9 +806,6 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
806 | } | 806 | } |
807 | } | 807 | } |
808 | 808 | ||
809 | wait_time = | ||
810 | GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, temp_wait); | ||
811 | |||
812 | if (GNUNET_YES == | 809 | if (GNUNET_YES == |
813 | GNUNET_CONFIGURATION_get_value_string (cfg, "test_mesh_small", | 810 | GNUNET_CONFIGURATION_get_value_string (cfg, "test_mesh_small", |
814 | "output_file", &temp_str)) | 811 | "output_file", &temp_str)) |