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_quota_compliance.c | |
parent | 1f11396323462186aa2795983d97d7bc168301fb (diff) | |
download | gnunet-928c054ec2ba5dc26ff6c3df3e638488a04f3ca9.tar.gz gnunet-928c054ec2ba5dc26ff6c3df3e638488a04f3ca9.zip |
added api changes to testcases
Diffstat (limited to 'src/transport/test_quota_compliance.c')
-rw-r--r-- | src/transport/test_quota_compliance.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/transport/test_quota_compliance.c b/src/transport/test_quota_compliance.c index cc13bac80..e4b728007 100644 --- a/src/transport/test_quota_compliance.c +++ b/src/transport/test_quota_compliance.c | |||
@@ -244,8 +244,7 @@ static void | |||
244 | notify_receive_new (void *cls, | 244 | notify_receive_new (void *cls, |
245 | const struct GNUNET_PeerIdentity *peer, | 245 | const struct GNUNET_PeerIdentity *peer, |
246 | const struct GNUNET_MessageHeader *message, | 246 | const struct GNUNET_MessageHeader *message, |
247 | struct GNUNET_TIME_Relative latency, | 247 | const struct GNUNET_TRANSPORT_ATS_Information *ats, uint32_t ats_count) |
248 | uint32_t distance) | ||
249 | { | 248 | { |
250 | unsigned int s; | 249 | unsigned int s; |
251 | const struct TestMessage *hdr; | 250 | const struct TestMessage *hdr; |
@@ -538,8 +537,7 @@ static void measure (unsigned long long quota_p1, unsigned long long quota_p2 ) | |||
538 | static void | 537 | static void |
539 | notify_connect (void *cls, | 538 | notify_connect (void *cls, |
540 | const struct GNUNET_PeerIdentity *peer, | 539 | const struct GNUNET_PeerIdentity *peer, |
541 | struct GNUNET_TIME_Relative latency, | 540 | const struct GNUNET_TRANSPORT_ATS_Information *ats, uint32_t ats_count) |
542 | uint32_t distance) | ||
543 | { | 541 | { |
544 | if (cls == &p1) | 542 | if (cls == &p1) |
545 | { | 543 | { |