From 6267301ba1e100e901af3ce1a15f801f7529e884 Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Tue, 11 Oct 2011 14:19:56 +0000 Subject: --- src/transport/test_transport_api_unreliability.c | 15 --------------- 1 file changed, 15 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 a18a809c9..7a08d590d 100644 --- a/src/transport/test_transport_api_unreliability.c +++ b/src/transport/test_transport_api_unreliability.c @@ -419,21 +419,6 @@ notify_connect (void *cls, const struct GNUNET_PeerIdentity *peer, GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Peer `%4s' connected to us (%p)!\n", GNUNET_i2s (peer), cls); - - if (cls == p1) - { - max_bps_p1 = 1024 * 1024 * 1024; - GNUNET_TRANSPORT_set_quota (p1->th, &p2->id, - GNUNET_BANDWIDTH_value_init (max_bps_p1), - GNUNET_BANDWIDTH_value_init (max_bps_p1)); - } - else if (cls == p2) - { - max_bps_p2 = 1024 * 1024 * 1024; - GNUNET_TRANSPORT_set_quota (p2->th, &p1->id, - GNUNET_BANDWIDTH_value_init (max_bps_p2), - GNUNET_BANDWIDTH_value_init (max_bps_p2)); - } } -- cgit v1.2.3