aboutsummaryrefslogtreecommitdiff
path: root/src/transport/test_transport_api.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2010-11-30 12:30:20 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2010-11-30 12:30:20 +0000
commit928c054ec2ba5dc26ff6c3df3e638488a04f3ca9 (patch)
tree2a4c3db5b095a1c3bb4de7940c39749e9d49aab8 /src/transport/test_transport_api.c
parent1f11396323462186aa2795983d97d7bc168301fb (diff)
downloadgnunet-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.c6
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
140notify_receive (void *cls, 140notify_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)
186static void 185static void
187notify_connect (void *cls, 186notify_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 {