diff options
Diffstat (limited to 'src/peerinfo/perf_peerinfo_api.c')
-rwxr-xr-x | src/peerinfo/perf_peerinfo_api.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/peerinfo/perf_peerinfo_api.c b/src/peerinfo/perf_peerinfo_api.c index c4e6dcc12..38bbb828f 100755 --- a/src/peerinfo/perf_peerinfo_api.c +++ b/src/peerinfo/perf_peerinfo_api.c | |||
@@ -50,8 +50,8 @@ static struct GNUNET_PeerIdentity pid; | |||
50 | 50 | ||
51 | 51 | ||
52 | static int | 52 | static int |
53 | check_it (void *cls, | 53 | check_it (void *cls, const struct GNUNET_HELLO_Address *address, |
54 | const struct GNUNET_HELLO_Address *address, struct GNUNET_TIME_Absolute expiration) | 54 | struct GNUNET_TIME_Absolute expiration) |
55 | { | 55 | { |
56 | #if DEBUG | 56 | #if DEBUG |
57 | if (addrlen > 0) | 57 | if (addrlen > 0) |
@@ -80,7 +80,7 @@ address_generator (void *cls, size_t max, void *buf) | |||
80 | address.address = caddress; | 80 | address.address = caddress; |
81 | address.transport_name = "peerinfotest"; | 81 | address.transport_name = "peerinfotest"; |
82 | ret = | 82 | ret = |
83 | GNUNET_HELLO_add_address (&address, | 83 | GNUNET_HELLO_add_address (&address, |
84 | GNUNET_TIME_relative_to_absolute | 84 | GNUNET_TIME_relative_to_absolute |
85 | (GNUNET_TIME_UNIT_HOURS), buf, max); | 85 | (GNUNET_TIME_UNIT_HOURS), buf, max); |
86 | GNUNET_free (caddress); | 86 | GNUNET_free (caddress); |