diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2010-12-02 11:59:56 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2010-12-02 11:59:56 +0000 |
commit | 614afe91d2c80b6fec4e6a090319c1a585944d75 (patch) | |
tree | ecd31dde4d596ec9c63fb5efde6243866c24bdc4 /src/transport/test_transport_api_reliability.c | |
parent | 318e4c9274fefbb546363633ea465f9f339cb828 (diff) | |
download | gnunet-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.c | 6 |
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 | |||
185 | notify_receive (void *cls, | 185 | notify_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) | |||
323 | static void | 324 | static void |
324 | notify_connect (void *cls, | 325 | notify_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 | { |