aboutsummaryrefslogtreecommitdiff
path: root/src/transport/test_transport_api_reliability.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2010-12-02 11:59:56 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2010-12-02 11:59:56 +0000
commit614afe91d2c80b6fec4e6a090319c1a585944d75 (patch)
treeecd31dde4d596ec9c63fb5efde6243866c24bdc4 /src/transport/test_transport_api_reliability.c
parent318e4c9274fefbb546363633ea465f9f339cb828 (diff)
downloadgnunet-614afe91d2c80b6fec4e6a090319c1a585944d75.tar.gz
gnunet-614afe91d2c80b6fec4e6a090319c1a585944d75.zip
Working version of transport service with ATS integration
all tests passing on my machine
Diffstat (limited to 'src/transport/test_transport_api_reliability.c')
-rw-r--r--src/transport/test_transport_api_reliability.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/transport/test_transport_api_reliability.c b/src/transport/test_transport_api_reliability.c
index e67399f71..31c597008 100644
--- a/src/transport/test_transport_api_reliability.c
+++ b/src/transport/test_transport_api_reliability.c
@@ -185,7 +185,8 @@ static void
185notify_receive (void *cls, 185notify_receive (void *cls,
186 const struct GNUNET_PeerIdentity *peer, 186 const struct GNUNET_PeerIdentity *peer,
187 const struct GNUNET_MessageHeader *message, 187 const struct GNUNET_MessageHeader *message,
188 const struct GNUNET_TRANSPORT_ATS_Information *ats, uint32_t ats_count) 188 const struct GNUNET_TRANSPORT_ATS_Information *ats,
189 uint32_t ats_count)
189{ 190{
190 static int n; 191 static int n;
191 unsigned int s; 192 unsigned int s;
@@ -323,7 +324,8 @@ notify_ready (void *cls, size_t size, void *buf)
323static void 324static void
324notify_connect (void *cls, 325notify_connect (void *cls,
325 const struct GNUNET_PeerIdentity *peer, 326 const struct GNUNET_PeerIdentity *peer,
326 const struct GNUNET_TRANSPORT_ATS_Information *ats, uint32_t ats_count) 327 const struct GNUNET_TRANSPORT_ATS_Information *ats,
328 uint32_t ats_count)
327{ 329{
328 if (cls == &p1) 330 if (cls == &p1)
329 { 331 {