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_http.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_http.c')
-rw-r--r-- | src/transport/test_plugin_transport_http.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/transport/test_plugin_transport_http.c b/src/transport/test_plugin_transport_http.c index 6b6463f1a..3c127a950 100644 --- a/src/transport/test_plugin_transport_http.c +++ b/src/transport/test_plugin_transport_http.c | |||
@@ -505,13 +505,13 @@ static void run_connection_tests( int phase , void * cls); | |||
505 | * Recieves messages from plugin, in real world transport | 505 | * Recieves messages from plugin, in real world transport |
506 | */ | 506 | */ |
507 | static struct GNUNET_TIME_Relative | 507 | static struct GNUNET_TIME_Relative |
508 | receive (void *cls, | 508 | receive (void *cls, const struct GNUNET_PeerIdentity *peer, |
509 | const struct GNUNET_PeerIdentity * peer, | 509 | const struct GNUNET_MessageHeader *message, |
510 | const struct GNUNET_MessageHeader * message, | 510 | const struct GNUNET_TRANSPORT_ATS_Information *ats, |
511 | uint32_t distance, | 511 | uint32_t ats_count, |
512 | struct Session *session, | 512 | struct Session *session, |
513 | const char *sender_address, | 513 | const char *sender_address, |
514 | uint16_t sender_address_len) | 514 | uint16_t sender_address_len) |
515 | { | 515 | { |
516 | 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); | 516 | 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); |
517 | 517 | ||