X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Fhostlist%2Fhostlist-server.c;h=8e79ace1bd62a7364b115178d94b2bce0f1514b6;hb=3b40545e6ff8a6938e742178dceeaebcb2baf304;hp=a6d9c126cb61a3df45ab640910ccfd1111533824;hpb=f44c0036572d5557d2496748a4190a61e40e61ff;p=oweals%2Fgnunet.git diff --git a/src/hostlist/hostlist-server.c b/src/hostlist/hostlist-server.c index a6d9c126c..8e79ace1b 100644 --- a/src/hostlist/hostlist-server.c +++ b/src/hostlist/hostlist-server.c @@ -141,16 +141,13 @@ finish_response (struct HostSet *results) * Set 'cls' to GNUNET_YES (we have an address!). * * @param cls closure, an 'int*' - * @param tname name of the transport (ignored) + * @param address the address (ignored) * @param expiration expiration time (call is ignored if this is in the past) - * @param addr the address (ignored) - * @param addrlen length of the address (ignored) * @return GNUNET_SYSERR to stop iterating (unless expiration has occured) */ static int -check_has_addr (void *cls, const char *tname, - struct GNUNET_TIME_Absolute expiration, const void *addr, - uint16_t addrlen) +check_has_addr (void *cls, const struct GNUNET_HELLO_Address *address, + struct GNUNET_TIME_Absolute expiration) { int *arg = cls; @@ -367,7 +364,7 @@ adv_transmit_ready (void *cls, size_t size, void *buf) static void connect_handler (void *cls, const struct GNUNET_PeerIdentity *peer, const struct GNUNET_ATS_Information *atsi, - unsigned int atsi_count) + unsigned int atsi_count) { size_t size;