diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-11-08 23:20:42 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-11-08 23:20:42 +0000 |
commit | a983a0267109b1b6a8e16e476e2f2956a8771b94 (patch) | |
tree | 79bcae73cdb7b87b4f55d4396e79baea76ef53a6 /src/transport/gnunet-service-transport_blacklist.c | |
parent | a3f8ef5b89dc44fc3acfb8f081a502f3409e4224 (diff) | |
download | gnunet-a983a0267109b1b6a8e16e476e2f2956a8771b94.tar.gz gnunet-a983a0267109b1b6a8e16e476e2f2956a8771b94.zip |
refactoring how we handle peer addresses in peerinfo/ats/transport/hello subsystems -- use a struct instead of 3--4 arguments
Diffstat (limited to 'src/transport/gnunet-service-transport_blacklist.c')
-rw-r--r-- | src/transport/gnunet-service-transport_blacklist.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/transport/gnunet-service-transport_blacklist.c b/src/transport/gnunet-service-transport_blacklist.c index 78eea2ff9..b3edc01db 100644 --- a/src/transport/gnunet-service-transport_blacklist.c +++ b/src/transport/gnunet-service-transport_blacklist.c | |||
@@ -550,15 +550,13 @@ struct TestConnectionContext | |||
550 | * @param neighbour neighbour's identity | 550 | * @param neighbour neighbour's identity |
551 | * @param ats performance data | 551 | * @param ats performance data |
552 | * @param ats_count number of entries in ats (excluding 0-termination) | 552 | * @param ats_count number of entries in ats (excluding 0-termination) |
553 | * @param transport plugin | 553 | * @param address the address |
554 | * @param addr address | ||
555 | * @param addrlen address length | ||
556 | */ | 554 | */ |
557 | static void | 555 | static void |
558 | test_connection_ok (void *cls, const struct GNUNET_PeerIdentity *neighbour, | 556 | test_connection_ok (void *cls, const struct GNUNET_PeerIdentity *neighbour, |
559 | const struct GNUNET_ATS_Information *ats, | 557 | const struct GNUNET_ATS_Information *ats, |
560 | uint32_t ats_count, const char *transport, const void *addr, | 558 | uint32_t ats_count, |
561 | size_t addrlen) | 559 | const struct GNUNET_HELLO_Address *address) |
562 | { | 560 | { |
563 | struct TestConnectionContext *tcc = cls; | 561 | struct TestConnectionContext *tcc = cls; |
564 | struct GST_BlacklistCheck *bc; | 562 | struct GST_BlacklistCheck *bc; |