diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2010-12-06 17:43:49 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2010-12-06 17:43:49 +0000 |
commit | 197c25b64e8cf36d25914dccc45247cb7e70f4b3 (patch) | |
tree | ff8ad89d2260463da08925061d1fac8c2dd71fe8 /src/transport/test_plugin_transport_https.c | |
parent | 00392968edfba24d572cc5fe200b62f51b597f5e (diff) | |
download | gnunet-197c25b64e8cf36d25914dccc45247cb7e70f4b3.tar.gz gnunet-197c25b64e8cf36d25914dccc45247cb7e70f4b3.zip |
- modified transport plugin interface to support ATS
- modified transport plugins to support ATS
Diffstat (limited to 'src/transport/test_plugin_transport_https.c')
-rw-r--r-- | src/transport/test_plugin_transport_https.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/transport/test_plugin_transport_https.c b/src/transport/test_plugin_transport_https.c index beda4c749..61aea1fa7 100644 --- a/src/transport/test_plugin_transport_https.c +++ b/src/transport/test_plugin_transport_https.c | |||
@@ -528,13 +528,13 @@ static void run_connection_tests( int phase , void * cls); | |||
528 | * Recieves messages from plugin, in real world transport | 528 | * Recieves messages from plugin, in real world transport |
529 | */ | 529 | */ |
530 | static struct GNUNET_TIME_Relative | 530 | static struct GNUNET_TIME_Relative |
531 | receive (void *cls, | 531 | receive (void *cls, const struct GNUNET_PeerIdentity *peer, |
532 | const struct GNUNET_PeerIdentity * peer, | 532 | const struct GNUNET_MessageHeader *message, |
533 | const struct GNUNET_MessageHeader * message, | 533 | const struct GNUNET_TRANSPORT_ATS_Information *ats, |
534 | uint32_t distance, | 534 | uint32_t ats_count, |
535 | struct Session *session, | 535 | struct Session *session, |
536 | const char *sender_address, | 536 | const char *sender_address, |
537 | uint16_t sender_address_len) | 537 | uint16_t sender_address_len) |
538 | { | 538 | { |
539 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Testcase recieved new message from peer `%s' with type %u and length %u, session %X\n", GNUNET_i2s(peer), ntohs(message->type), ntohs(message->size),session); | 539 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Testcase recieved new message from peer `%s' with type %u and length %u, session %X\n", GNUNET_i2s(peer), ntohs(message->type), ntohs(message->size),session); |
540 | 540 | ||