diff options
-rw-r--r-- | src/transport/test_transport_api_reliability.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/transport/test_transport_api_reliability.c b/src/transport/test_transport_api_reliability.c index 5d17b8d7e..6ccb7c8d7 100644 --- a/src/transport/test_transport_api_reliability.c +++ b/src/transport/test_transport_api_reliability.c | |||
@@ -363,23 +363,6 @@ notify_connect (void *cls, const struct GNUNET_PeerIdentity *peer, | |||
363 | struct PeerContext *p = cls; | 363 | struct PeerContext *p = cls; |
364 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Peer %u (`%4s') connected to us!\n", | 364 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Peer %u (`%4s') connected to us!\n", |
365 | p->no, GNUNET_i2s (peer)); | 365 | p->no, GNUNET_i2s (peer)); |
366 | |||
367 | if (cls == p1) | ||
368 | { | ||
369 | GNUNET_TRANSPORT_set_quota (p1->th, &p2->id, | ||
370 | GNUNET_BANDWIDTH_value_init (1024 * 1024 * | ||
371 | 1024), | ||
372 | GNUNET_BANDWIDTH_value_init (1024 * 1024 * | ||
373 | 1024)); | ||
374 | } | ||
375 | else if (cls == p2) | ||
376 | { | ||
377 | GNUNET_TRANSPORT_set_quota (p2->th, &p1->id, | ||
378 | GNUNET_BANDWIDTH_value_init (1024 * 1024 * | ||
379 | 1024), | ||
380 | GNUNET_BANDWIDTH_value_init (1024 * 1024 * | ||
381 | 1024)); | ||
382 | } | ||
383 | } | 366 | } |
384 | 367 | ||
385 | 368 | ||