diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2013-07-15 08:43:04 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2013-07-15 08:43:04 +0000 |
commit | 28f55772ae328ee41265bd12da898bd04da2374b (patch) | |
tree | fd45951cea20c31dc1cc2f1d9ab887e2046be5b8 /src/ats-tool | |
parent | 27b0a68e9260e345e3ff712c8ea64db1b8b535e2 (diff) | |
download | gnunet-28f55772ae328ee41265bd12da898bd04da2374b.tar.gz gnunet-28f55772ae328ee41265bd12da898bd04da2374b.zip |
do not use forever
Diffstat (limited to 'src/ats-tool')
-rw-r--r-- | src/ats-tool/gnunet-ats.c | 4 |
1 files changed, 3 insertions, 1 deletions
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, | |||
250 | pr->bandwidth_in = bandwidth_in; | 250 | pr->bandwidth_in = bandwidth_in; |
251 | pr->bandwidth_out = bandwidth_out; | 251 | pr->bandwidth_out = bandwidth_out; |
252 | pr->tats_ctx = GNUNET_TRANSPORT_address_to_string(cfg, address, | 252 | pr->tats_ctx = GNUNET_TRANSPORT_address_to_string(cfg, address, |
253 | resolve_addresses_numeric, GNUNET_TIME_UNIT_FOREVER_REL, transport_addr_to_str_cb, pr); | 253 | resolve_addresses_numeric, |
254 | GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 10), | ||
255 | transport_addr_to_str_cb, pr); | ||
254 | GNUNET_CONTAINER_DLL_insert (head, tail, pr); | 256 | GNUNET_CONTAINER_DLL_insert (head, tail, pr); |
255 | results++; | 257 | results++; |
256 | pending++; | 258 | pending++; |