aboutsummaryrefslogtreecommitdiff
path: root/src/hostlist/gnunet-daemon-hostlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hostlist/gnunet-daemon-hostlist.c')
-rw-r--r--src/hostlist/gnunet-daemon-hostlist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hostlist/gnunet-daemon-hostlist.c b/src/hostlist/gnunet-daemon-hostlist.c
index 30f736002..fb23d2345 100644
--- a/src/hostlist/gnunet-daemon-hostlist.c
+++ b/src/hostlist/gnunet-daemon-hostlist.c
@@ -140,7 +140,7 @@ core_init (void *cls, struct GNUNET_CORE_Handle *server,
140static int 140static int
141advertisement_handler (void *cls, const struct GNUNET_PeerIdentity *peer, 141advertisement_handler (void *cls, const struct GNUNET_PeerIdentity *peer,
142 const struct GNUNET_MessageHeader *message, 142 const struct GNUNET_MessageHeader *message,
143 const struct GNUNET_TRANSPORT_ATS_Information *atsi) 143 const struct GNUNET_ATS_Information *atsi)
144{ 144{
145 GNUNET_assert (NULL != client_adv_handler); 145 GNUNET_assert (NULL != client_adv_handler);
146 return (*client_adv_handler) (cls, peer, message, atsi); 146 return (*client_adv_handler) (cls, peer, message, atsi);
@@ -156,7 +156,7 @@ advertisement_handler (void *cls, const struct GNUNET_PeerIdentity *peer,
156 */ 156 */
157static void 157static void
158connect_handler (void *cls, const struct GNUNET_PeerIdentity *peer, 158connect_handler (void *cls, const struct GNUNET_PeerIdentity *peer,
159 const struct GNUNET_TRANSPORT_ATS_Information *atsi) 159 const struct GNUNET_ATS_Information *atsi)
160{ 160{
161 if (0 == memcmp (&me, peer, sizeof (struct GNUNET_PeerIdentity))) 161 if (0 == memcmp (&me, peer, sizeof (struct GNUNET_PeerIdentity)))
162 return; 162 return;