diff options
Diffstat (limited to 'src/nse/gnunet-nse-profiler.c')
-rw-r--r-- | src/nse/gnunet-nse-profiler.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/nse/gnunet-nse-profiler.c b/src/nse/gnunet-nse-profiler.c index 4ad689be9..d097b96aa 100644 --- a/src/nse/gnunet-nse-profiler.c +++ b/src/nse/gnunet-nse-profiler.c | |||
@@ -557,8 +557,8 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
557 | } | 557 | } |
558 | 558 | ||
559 | if (GNUNET_OK != | 559 | if (GNUNET_OK != |
560 | GNUNET_CONFIGURATION_get_value_number (testing_cfg, "nse-profiler", | 560 | GNUNET_CONFIGURATION_get_value_time (testing_cfg, "nse-profiler", |
561 | "wait_time", &temp_wait)) | 561 | "WAIT_TIME", &wait_time)) |
562 | { | 562 | { |
563 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | 563 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, |
564 | "Option nse-profiler:wait_time is required!\n"); | 564 | "Option nse-profiler:wait_time is required!\n"); |
@@ -611,9 +611,6 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
611 | } | 611 | } |
612 | 612 | ||
613 | 613 | ||
614 | wait_time = | ||
615 | GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, temp_wait); | ||
616 | |||
617 | if (GNUNET_YES == | 614 | if (GNUNET_YES == |
618 | GNUNET_CONFIGURATION_get_value_string (cfg, "nse-profiler", "output_file", | 615 | GNUNET_CONFIGURATION_get_value_string (cfg, "nse-profiler", "output_file", |
619 | &temp_str)) | 616 | &temp_str)) |