aboutsummaryrefslogtreecommitdiff
path: root/src/transport/test_transport_api_manipulation_recv_tcp.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2013-03-15 14:27:16 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2013-03-15 14:27:16 +0000
commit7df1fa12d8761e9a08a2aecc1611c398a1663b6f (patch)
tree3c5b4014ea5e80c7a9b9f8a77e8c27631b5006d3 /src/transport/test_transport_api_manipulation_recv_tcp.c
parentbfe1307e037a7811c2d9f86393554aa6ac09a957 (diff)
downloadgnunet-7df1fa12d8761e9a08a2aecc1611c398a1663b6f.tar.gz
gnunet-7df1fa12d8761e9a08a2aecc1611c398a1663b6f.zip
clean up
Diffstat (limited to 'src/transport/test_transport_api_manipulation_recv_tcp.c')
-rw-r--r--src/transport/test_transport_api_manipulation_recv_tcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transport/test_transport_api_manipulation_recv_tcp.c b/src/transport/test_transport_api_manipulation_recv_tcp.c
index 46215076f..efd4a481f 100644
--- a/src/transport/test_transport_api_manipulation_recv_tcp.c
+++ b/src/transport/test_transport_api_manipulation_recv_tcp.c
@@ -212,7 +212,7 @@ notify_receive (void *cls, const struct GNUNET_PeerIdentity *peer,
212 ats[1].type = htonl (GNUNET_ATS_QUALITY_NET_DISTANCE); 212 ats[1].type = htonl (GNUNET_ATS_QUALITY_NET_DISTANCE);
213 ats[1].value = htonl (10); 213 ats[1].value = htonl (10);
214 214
215 GNUNET_TRANSPORT_set_traffic_metric (p1->th, &p2->id, TM_RECEIVE, ats, 2); 215 GNUNET_TRANSPORT_set_traffic_metric (p1->th, &p2->id, GNUNET_YES, GNUNET_NO, ats, 2);
216 send_task = GNUNET_SCHEDULER_add_now (&sendtask, NULL); 216 send_task = GNUNET_SCHEDULER_add_now (&sendtask, NULL);
217 } 217 }
218 if (2 == messages_recv) 218 if (2 == messages_recv)