summaryrefslogtreecommitdiff
path: root/src/transport/test_transport_api_reliability.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2011-10-12 07:47:20 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2011-10-12 07:47:20 +0000
commit6540da3ca946b4a6d04c3b4c8d95aec2e4ea7235 (patch)
tree0ddfc21c8c8290678bbe8245b460e88415a5d1fc /src/transport/test_transport_api_reliability.c
parent93e3a5ea3d6f758e290f0fb24fa613c8c48c8b08 (diff)
Diffstat (limited to 'src/transport/test_transport_api_reliability.c')
-rw-r--r--src/transport/test_transport_api_reliability.c17
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,
struct PeerContext *p = cls;
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Peer %u (`%4s') connected to us!\n",
p->no, GNUNET_i2s (peer));
-
- if (cls == p1)
- {
- GNUNET_TRANSPORT_set_quota (p1->th, &p2->id,
- GNUNET_BANDWIDTH_value_init (1024 * 1024 *
- 1024),
- GNUNET_BANDWIDTH_value_init (1024 * 1024 *
- 1024));
- }
- else if (cls == p2)
- {
- GNUNET_TRANSPORT_set_quota (p2->th, &p1->id,
- GNUNET_BANDWIDTH_value_init (1024 * 1024 *
- 1024),
- GNUNET_BANDWIDTH_value_init (1024 * 1024 *
- 1024));
- }
}