diff options
Diffstat (limited to 'src/transport/gnunet-service-transport_clients.c')
-rw-r--r-- | src/transport/gnunet-service-transport_clients.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/transport/gnunet-service-transport_clients.c b/src/transport/gnunet-service-transport_clients.c index 75b9bb93f..9252a5c10 100644 --- a/src/transport/gnunet-service-transport_clients.c +++ b/src/transport/gnunet-service-transport_clients.c | |||
@@ -328,7 +328,7 @@ client_disconnect_notification (void *cls, struct GNUNET_SERVER_Client *client) | |||
328 | static void | 328 | static void |
329 | notify_client_about_neighbour (void *cls, | 329 | notify_client_about_neighbour (void *cls, |
330 | const struct GNUNET_PeerIdentity *peer, | 330 | const struct GNUNET_PeerIdentity *peer, |
331 | const struct GNUNET_TRANSPORT_ATS_Information | 331 | const struct GNUNET_ATS_Information |
332 | *ats, uint32_t ats_count, | 332 | *ats, uint32_t ats_count, |
333 | const char * transport, | 333 | const char * transport, |
334 | const void * addr, | 334 | const void * addr, |
@@ -340,7 +340,7 @@ notify_client_about_neighbour (void *cls, | |||
340 | 340 | ||
341 | size = | 341 | size = |
342 | sizeof (struct ConnectInfoMessage) + | 342 | sizeof (struct ConnectInfoMessage) + |
343 | ats_count * sizeof (struct GNUNET_TRANSPORT_ATS_Information); | 343 | ats_count * sizeof (struct GNUNET_ATS_Information); |
344 | GNUNET_assert (size < GNUNET_SERVER_MAX_MESSAGE_SIZE); | 344 | GNUNET_assert (size < GNUNET_SERVER_MAX_MESSAGE_SIZE); |
345 | cim = GNUNET_malloc (size); | 345 | cim = GNUNET_malloc (size); |
346 | cim->header.size = htons (size); | 346 | cim->header.size = htons (size); |
@@ -348,7 +348,7 @@ notify_client_about_neighbour (void *cls, | |||
348 | cim->ats_count = htonl (ats_count); | 348 | cim->ats_count = htonl (ats_count); |
349 | cim->id = *peer; | 349 | cim->id = *peer; |
350 | memcpy (&cim->ats, ats, | 350 | memcpy (&cim->ats, ats, |
351 | ats_count * sizeof (struct GNUNET_TRANSPORT_ATS_Information)); | 351 | ats_count * sizeof (struct GNUNET_ATS_Information)); |
352 | unicast (tc, &cim->header, GNUNET_NO); | 352 | unicast (tc, &cim->header, GNUNET_NO); |
353 | GNUNET_free (cim); | 353 | GNUNET_free (cim); |
354 | } | 354 | } |
@@ -819,7 +819,7 @@ clients_handle_peer_address_lookup (void *cls, | |||
819 | */ | 819 | */ |
820 | static void | 820 | static void |
821 | output_addresses (void *cls, const struct GNUNET_PeerIdentity *peer, | 821 | output_addresses (void *cls, const struct GNUNET_PeerIdentity *peer, |
822 | const struct GNUNET_TRANSPORT_ATS_Information *ats, | 822 | const struct GNUNET_ATS_Information *ats, |
823 | uint32_t ats_count, | 823 | uint32_t ats_count, |
824 | const char * transport, | 824 | const char * transport, |
825 | const void * addr, | 825 | const void * addr, |