From 28f55772ae328ee41265bd12da898bd04da2374b Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Mon, 15 Jul 2013 08:43:04 +0000 Subject: [PATCH] do not use forever --- src/ats-tool/gnunet-ats.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ats-tool/gnunet-ats.c b/src/ats-tool/gnunet-ats.c index 2fd30c1a5..e79517076 100644 --- a/src/ats-tool/gnunet-ats.c +++ b/src/ats-tool/gnunet-ats.c @@ -250,7 +250,9 @@ ats_perf_cb (void *cls, pr->bandwidth_in = bandwidth_in; pr->bandwidth_out = bandwidth_out; pr->tats_ctx = GNUNET_TRANSPORT_address_to_string(cfg, address, - resolve_addresses_numeric, GNUNET_TIME_UNIT_FOREVER_REL, transport_addr_to_str_cb, pr); + resolve_addresses_numeric, + GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 10), + transport_addr_to_str_cb, pr); GNUNET_CONTAINER_DLL_insert (head, tail, pr); results++; pending++; -- 2.25.1