From: Matthias Wachs Date: Mon, 15 Jul 2013 08:43:04 +0000 (+0000) Subject: do not use forever X-Git-Tag: initial-import-from-subversion-38251~8272 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=28f55772ae328ee41265bd12da898bd04da2374b;p=oweals%2Fgnunet.git do not use forever --- 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++;