diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2010-11-30 12:30:20 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2010-11-30 12:30:20 +0000 |
commit | 928c054ec2ba5dc26ff6c3df3e638488a04f3ca9 (patch) | |
tree | 2a4c3db5b095a1c3bb4de7940c39749e9d49aab8 /src/transport/test_transport_api.c | |
parent | 1f11396323462186aa2795983d97d7bc168301fb (diff) | |
download | gnunet-928c054ec2ba5dc26ff6c3df3e638488a04f3ca9.tar.gz gnunet-928c054ec2ba5dc26ff6c3df3e638488a04f3ca9.zip |
added api changes to testcases
Diffstat (limited to 'src/transport/test_transport_api.c')
-rw-r--r-- | src/transport/test_transport_api.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/transport/test_transport_api.c b/src/transport/test_transport_api.c index e429ad7a7..488471e7a 100644 --- a/src/transport/test_transport_api.c +++ b/src/transport/test_transport_api.c | |||
@@ -140,8 +140,7 @@ static void | |||
140 | notify_receive (void *cls, | 140 | notify_receive (void *cls, |
141 | const struct GNUNET_PeerIdentity *peer, | 141 | const struct GNUNET_PeerIdentity *peer, |
142 | const struct GNUNET_MessageHeader *message, | 142 | const struct GNUNET_MessageHeader *message, |
143 | struct GNUNET_TIME_Relative latency, | 143 | const struct GNUNET_TRANSPORT_ATS_Information *ats, uint32_t ats_count) |
144 | uint32_t distance) | ||
145 | { | 144 | { |
146 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "ok is (%d)!\n", | 145 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "ok is (%d)!\n", |
147 | ok); | 146 | ok); |
@@ -186,8 +185,7 @@ notify_ready (void *cls, size_t size, void *buf) | |||
186 | static void | 185 | static void |
187 | notify_connect (void *cls, | 186 | notify_connect (void *cls, |
188 | const struct GNUNET_PeerIdentity *peer, | 187 | const struct GNUNET_PeerIdentity *peer, |
189 | struct GNUNET_TIME_Relative latency, | 188 | const struct GNUNET_TRANSPORT_ATS_Information *ats, uint32_t ats_count) |
190 | uint32_t distance) | ||
191 | { | 189 | { |
192 | if (cls == &p1) | 190 | if (cls == &p1) |
193 | { | 191 | { |