diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-02-10 23:24:01 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-02-10 23:24:01 +0000 |
commit | 1c323bd4cbb388a9e7515a1f733a3062bf093aee (patch) | |
tree | 7cc525d79149d44840b9f7a0040aaf3e69ecd665 /src/transport/test_plugin_transport.c | |
parent | aedaaed687db1ff20b447378f01ad7306921450c (diff) | |
download | gnunet-1c323bd4cbb388a9e7515a1f733a3062bf093aee.tar.gz gnunet-1c323bd4cbb388a9e7515a1f733a3062bf093aee.zip |
fixing #3657 (replace ATS_Information with struct), but WIHTOUT fixing ATS testcases yet
Diffstat (limited to 'src/transport/test_plugin_transport.c')
-rw-r--r-- | src/transport/test_plugin_transport.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/transport/test_plugin_transport.c b/src/transport/test_plugin_transport.c index 1bd0a2dcd..df7c7b23f 100644 --- a/src/transport/test_plugin_transport.c +++ b/src/transport/test_plugin_transport.c | |||
@@ -522,11 +522,9 @@ env_session_end (void *cls, | |||
522 | 522 | ||
523 | 523 | ||
524 | static void | 524 | static void |
525 | env_update_metrics (void *cls, | 525 | env_update_distance (void *cls, |
526 | const struct GNUNET_HELLO_Address *address, | 526 | const struct GNUNET_HELLO_Address *address, |
527 | struct Session *session, | 527 | uint32_t distance) |
528 | const struct GNUNET_ATS_Information *ats, | ||
529 | uint32_t ats_count) | ||
530 | { | 528 | { |
531 | } | 529 | } |
532 | 530 | ||
@@ -542,7 +540,7 @@ setup_plugin_environment () | |||
542 | env.receive = &env_receive; | 540 | env.receive = &env_receive; |
543 | env.notify_address = &env_notify_address; | 541 | env.notify_address = &env_notify_address; |
544 | env.get_address_type = &env_get_address_type; | 542 | env.get_address_type = &env_get_address_type; |
545 | env.update_address_metrics = &env_update_metrics; | 543 | env.update_address_distance = &env_update_distance; |
546 | env.get_our_hello = &env_get_our_hello; | 544 | env.get_our_hello = &env_get_our_hello; |
547 | env.session_end = &env_session_end; | 545 | env.session_end = &env_session_end; |
548 | } | 546 | } |