aboutsummaryrefslogtreecommitdiff
path: root/src/hostlist/hostlist-server.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hostlist/hostlist-server.c')
-rw-r--r--src/hostlist/hostlist-server.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/hostlist/hostlist-server.c b/src/hostlist/hostlist-server.c
index 58daf0401..87fae74e3 100644
--- a/src/hostlist/hostlist-server.c
+++ b/src/hostlist/hostlist-server.c
@@ -183,8 +183,7 @@ check_has_addr (void *cls,
183static void 183static void
184host_processor (void *cls, 184host_processor (void *cls,
185 const struct GNUNET_PeerIdentity * peer, 185 const struct GNUNET_PeerIdentity * peer,
186 const struct GNUNET_HELLO_Message *hello, 186 const struct GNUNET_HELLO_Message *hello)
187 uint32_t trust)
188{ 187{
189 struct HostSet *results = cls; 188 struct HostSet *results = cls;
190 size_t old; 189 size_t old;
@@ -447,13 +446,11 @@ disconnect_handler (void *cls,
447 * @param cls closure (not used) 446 * @param cls closure (not used)
448 * @param peer potential peer to connect to 447 * @param peer potential peer to connect to
449 * @param hello HELLO for this peer (or NULL) 448 * @param hello HELLO for this peer (or NULL)
450 * @param trust how much we trust the peer (not used)
451 */ 449 */
452static void 450static void
453process_notify (void *cls, 451process_notify (void *cls,
454 const struct GNUNET_PeerIdentity *peer, 452 const struct GNUNET_PeerIdentity *peer,
455 const struct GNUNET_HELLO_Message *hello, 453 const struct GNUNET_HELLO_Message *hello)
456 uint32_t trust)
457{ 454{
458 struct HostSet *results; 455 struct HostSet *results;
459#if DEBUG_HOSTLIST_SERVER 456#if DEBUG_HOSTLIST_SERVER
@@ -464,7 +461,6 @@ process_notify (void *cls,
464 GNUNET_assert (peerinfo != NULL); 461 GNUNET_assert (peerinfo != NULL);
465 pitr = GNUNET_PEERINFO_iterate (peerinfo, 462 pitr = GNUNET_PEERINFO_iterate (peerinfo,
466 NULL, 463 NULL,
467 0,
468 GNUNET_TIME_UNIT_MINUTES, 464 GNUNET_TIME_UNIT_MINUTES,
469 &host_processor, 465 &host_processor,
470 results); 466 results);