diff options
Diffstat (limited to 'src/transport/test_transport_api_unreliability.c')
-rw-r--r-- | src/transport/test_transport_api_unreliability.c | 15 |
1 files changed, 0 insertions, 15 deletions
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, | |||
419 | 419 | ||
420 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Peer `%4s' connected to us (%p)!\n", | 420 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Peer `%4s' connected to us (%p)!\n", |
421 | GNUNET_i2s (peer), cls); | 421 | GNUNET_i2s (peer), cls); |
422 | |||
423 | if (cls == p1) | ||
424 | { | ||
425 | max_bps_p1 = 1024 * 1024 * 1024; | ||
426 | GNUNET_TRANSPORT_set_quota (p1->th, &p2->id, | ||
427 | GNUNET_BANDWIDTH_value_init (max_bps_p1), | ||
428 | GNUNET_BANDWIDTH_value_init (max_bps_p1)); | ||
429 | } | ||
430 | else if (cls == p2) | ||
431 | { | ||
432 | max_bps_p2 = 1024 * 1024 * 1024; | ||
433 | GNUNET_TRANSPORT_set_quota (p2->th, &p1->id, | ||
434 | GNUNET_BANDWIDTH_value_init (max_bps_p2), | ||
435 | GNUNET_BANDWIDTH_value_init (max_bps_p2)); | ||
436 | } | ||
437 | } | 422 | } |
438 | 423 | ||
439 | 424 | ||