From 9017f014c0d56dafe03c912540fb0bd0345ef918 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 3 Jun 2011 20:43:37 +0000 Subject: simplify api --- src/transport/test_transport_api_unreliability.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/transport/test_transport_api_unreliability.c') diff --git a/src/transport/test_transport_api_unreliability.c b/src/transport/test_transport_api_unreliability.c index 929e88b1c..d27a5193e 100644 --- a/src/transport/test_transport_api_unreliability.c +++ b/src/transport/test_transport_api_unreliability.c @@ -438,9 +438,7 @@ notify_connect (void *cls, GNUNET_TRANSPORT_set_quota (p1.th, &p2.id, GNUNET_BANDWIDTH_value_init (1024 * 1024 * 1024), - GNUNET_BANDWIDTH_value_init (1024 * 1024 * 1024), - GNUNET_TIME_UNIT_FOREVER_REL, - NULL, NULL); + GNUNET_BANDWIDTH_value_init (1024 * 1024 * 1024)); start_time = GNUNET_TIME_absolute_get (); connected++; } @@ -449,9 +447,7 @@ notify_connect (void *cls, GNUNET_TRANSPORT_set_quota (p2.th, &p1.id, GNUNET_BANDWIDTH_value_init (1024 * 1024 * 1024), - GNUNET_BANDWIDTH_value_init (1024 * 1024 * 1024), - GNUNET_TIME_UNIT_FOREVER_REL, - NULL, NULL); + GNUNET_BANDWIDTH_value_init (1024 * 1024 * 1024)); connected++; } -- cgit v1.2.3