aboutsummaryrefslogtreecommitdiff
path: root/src/transport/test_transport_api_unreliability.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2011-10-11 14:19:56 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2011-10-11 14:19:56 +0000
commit6267301ba1e100e901af3ce1a15f801f7529e884 (patch)
tree0bcbd978329b52d48464b95cb314ed904c77e2c2 /src/transport/test_transport_api_unreliability.c
parent500783351ee1cfe6a76ed0bc75e3459f9a9c91bd (diff)
downloadgnunet-6267301ba1e100e901af3ce1a15f801f7529e884.tar.gz
gnunet-6267301ba1e100e901af3ce1a15f801f7529e884.zip
Diffstat (limited to 'src/transport/test_transport_api_unreliability.c')
-rw-r--r--src/transport/test_transport_api_unreliability.c15
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