From d646e3c15ad07f38e36b7d6390889db621b5747f Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Mon, 18 Jul 2011 12:05:57 +0000 Subject: [PATCH] reverting changes --- src/transport/gnunet-service-transport.c | 29 ++++++++---------------- 1 file changed, 10 insertions(+), 19 deletions(-) diff --git a/src/transport/gnunet-service-transport.c b/src/transport/gnunet-service-transport.c index 2b73e473c..4c6fc8993 100644 --- a/src/transport/gnunet-service-transport.c +++ b/src/transport/gnunet-service-transport.c @@ -6760,25 +6760,16 @@ run (void *cls, "DUMP_OVERWRITE", &value)) overwrite_dump = (int) value; - if (GNUNET_YES == - GNUNET_CONFIGURATION_have_value (cfg, "transport", - "ATS_EXEC_INTERVAL")) - { - GNUNET_CONFIGURATION_get_value_time (cfg, - "transport", - "ATS_EXEC_INTERVAL", - &ats_regular_interval); - } - - if (GNUNET_YES == - GNUNET_CONFIGURATION_have_value (cfg, "transport", - "ATS_MIN_INTERVAL")) - { - GNUNET_CONFIGURATION_get_value_time (cfg, - "transport", - "ATS_MIN_INTERVAL", - &ats_minimum_interval); - } + GNUNET_break (GNUNET_OK == + GNUNET_CONFIGURATION_get_value_time (cfg, + "transport", + "ATS_EXEC_INTERVAL", + &ats_regular_interval)); + GNUNET_break (GNUNET_OK == + GNUNET_CONFIGURATION_get_value_time (cfg, + "transport", + "ATS_MIN_INTERVAL", + &ats_minimum_interval)); #if HAVE_GLPK ats_set_logging_options (ats, minimum_addresses, -- 2.25.1