diff options
Diffstat (limited to 'src/peerinfo/gnunet-service-peerinfo.c')
-rw-r--r-- | src/peerinfo/gnunet-service-peerinfo.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/peerinfo/gnunet-service-peerinfo.c b/src/peerinfo/gnunet-service-peerinfo.c index fc7cc781f..799fdc6d8 100644 --- a/src/peerinfo/gnunet-service-peerinfo.c +++ b/src/peerinfo/gnunet-service-peerinfo.c | |||
@@ -122,8 +122,7 @@ make_info_message (const struct HostEntry *he) | |||
122 | * @return GNUNET_NO if expiration smaller than the current time | 122 | * @return GNUNET_NO if expiration smaller than the current time |
123 | */ | 123 | */ |
124 | static int | 124 | static int |
125 | discard_expired (void *cls, | 125 | discard_expired (void *cls, const struct GNUNET_HELLO_Address *address, |
126 | const struct GNUNET_HELLO_Address *address, | ||
127 | struct GNUNET_TIME_Absolute expiration) | 126 | struct GNUNET_TIME_Absolute expiration) |
128 | { | 127 | { |
129 | const struct GNUNET_TIME_Absolute *now = cls; | 128 | const struct GNUNET_TIME_Absolute *now = cls; |
@@ -131,8 +130,8 @@ discard_expired (void *cls, | |||
131 | if (now->abs_value > expiration.abs_value) | 130 | if (now->abs_value > expiration.abs_value) |
132 | { | 131 | { |
133 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, | 132 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, |
134 | _("Removing expired address of transport `%s'\n"), | 133 | _("Removing expired address of transport `%s'\n"), |
135 | address->transport_name); | 134 | address->transport_name); |
136 | return GNUNET_NO; | 135 | return GNUNET_NO; |
137 | } | 136 | } |
138 | return GNUNET_OK; | 137 | return GNUNET_OK; |