diff options
author | Bart Polot <bart@net.in.tum.de> | 2011-11-28 16:00:18 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2011-11-28 16:00:18 +0000 |
commit | 636b3202c2ea8ebc6dd51a90c839a2e495ea0d27 (patch) | |
tree | 8a4bd19e8885f863dee861ff1c01d17cb41a0ded /src/nse | |
parent | 7860a8fa9e6cca9f59efbfee307a01545578f59f (diff) | |
download | gnunet-636b3202c2ea8ebc6dd51a90c839a2e495ea0d27.tar.gz gnunet-636b3202c2ea8ebc6dd51a90c839a2e495ea0d27.zip |
- Removed misleading code
Diffstat (limited to 'src/nse')
-rw-r--r-- | src/nse/gnunet-nse-profiler.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/nse/gnunet-nse-profiler.c b/src/nse/gnunet-nse-profiler.c index e182cbca0..115d7b417 100644 --- a/src/nse/gnunet-nse-profiler.c +++ b/src/nse/gnunet-nse-profiler.c | |||
@@ -137,8 +137,6 @@ static GNUNET_SCHEDULER_TaskIdentifier churn_task; | |||
137 | 137 | ||
138 | static char *topology_file; | 138 | static char *topology_file; |
139 | 139 | ||
140 | static uint64_t clock_skew; | ||
141 | |||
142 | /** | 140 | /** |
143 | * Check whether peers successfully shut down. | 141 | * Check whether peers successfully shut down. |
144 | */ | 142 | */ |
@@ -601,17 +599,6 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
601 | } | 599 | } |
602 | 600 | ||
603 | if (GNUNET_YES == | 601 | if (GNUNET_YES == |
604 | GNUNET_CONFIGURATION_get_value_yesno (testing_cfg, "nse-profiler", | ||
605 | "skew_clock")) | ||
606 | { | ||
607 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "Setting our clock as skewed...\n"); | ||
608 | clock_skew = | ||
609 | GNUNET_CRYPTO_random_u64 (GNUNET_CRYPTO_QUALITY_WEAK, | ||
610 | GNUNET_TIME_UNIT_MINUTES.rel_value); | ||
611 | } | ||
612 | |||
613 | |||
614 | if (GNUNET_YES == | ||
615 | GNUNET_CONFIGURATION_get_value_string (cfg, "nse-profiler", "output_file", | 602 | GNUNET_CONFIGURATION_get_value_string (cfg, "nse-profiler", "output_file", |
616 | &temp_str)) | 603 | &temp_str)) |
617 | { | 604 | { |