diff options
Diffstat (limited to 'src/ats/ats_api.c')
-rw-r--r-- | src/ats/ats_api.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ats/ats_api.c b/src/ats/ats_api.c index 29a273e3e..61d3895d2 100644 --- a/src/ats/ats_api.c +++ b/src/ats/ats_api.c | |||
@@ -523,7 +523,7 @@ update_session (void *cls, const GNUNET_HashCode * key, void *value) | |||
523 | static struct AllocationRecord * | 523 | static struct AllocationRecord * |
524 | create_allocation_record (const char *plugin_name, struct Session *session, | 524 | create_allocation_record (const char *plugin_name, struct Session *session, |
525 | const void *plugin_addr, size_t plugin_addr_len, | 525 | const void *plugin_addr, size_t plugin_addr_len, |
526 | const struct GNUNET_TRANSPORT_ATS_Information *ats, | 526 | const struct GNUNET_ATS_Information *ats, |
527 | uint32_t ats_count) | 527 | uint32_t ats_count) |
528 | { | 528 | { |
529 | struct AllocationRecord *ar; | 529 | struct AllocationRecord *ar; |
@@ -539,7 +539,7 @@ create_allocation_record (const char *plugin_name, struct Session *session, | |||
539 | GNUNET_assert (ats_count > 0); | 539 | GNUNET_assert (ats_count > 0); |
540 | GNUNET_array_grow (ar->ats, ar->ats_count, ats_count); | 540 | GNUNET_array_grow (ar->ats, ar->ats_count, ats_count); |
541 | memcpy (ar->ats, ats, | 541 | memcpy (ar->ats, ats, |
542 | ats_count * sizeof (struct GNUNET_TRANSPORT_ATS_Information)); | 542 | ats_count * sizeof (struct GNUNET_ATS_Information)); |
543 | ar->connected = GNUNET_SYSERR; /* aka: not known / no change */ | 543 | ar->connected = GNUNET_SYSERR; /* aka: not known / no change */ |
544 | return ar; | 544 | return ar; |
545 | } | 545 | } |
@@ -587,7 +587,7 @@ GNUNET_ATS_peer_connect (struct GNUNET_ATS_SchedulingHandle *atc, | |||
587 | const struct GNUNET_PeerIdentity *peer, | 587 | const struct GNUNET_PeerIdentity *peer, |
588 | const char *plugin_name, struct Session *session, | 588 | const char *plugin_name, struct Session *session, |
589 | const void *plugin_addr, size_t plugin_addr_len, | 589 | const void *plugin_addr, size_t plugin_addr_len, |
590 | const struct GNUNET_TRANSPORT_ATS_Information *ats, | 590 | const struct GNUNET_ATS_Information *ats, |
591 | uint32_t ats_count) | 591 | uint32_t ats_count) |
592 | { | 592 | { |
593 | struct AllocationRecord *ar; | 593 | struct AllocationRecord *ar; |
@@ -761,7 +761,7 @@ GNUNET_ATS_address_update (struct GNUNET_ATS_SchedulingHandle *atc, | |||
761 | struct GNUNET_TIME_Absolute valid_until, | 761 | struct GNUNET_TIME_Absolute valid_until, |
762 | const char *plugin_name, struct Session *session, | 762 | const char *plugin_name, struct Session *session, |
763 | const void *plugin_addr, size_t plugin_addr_len, | 763 | const void *plugin_addr, size_t plugin_addr_len, |
764 | const struct GNUNET_TRANSPORT_ATS_Information *ats, | 764 | const struct GNUNET_ATS_Information *ats, |
765 | uint32_t ats_count) | 765 | uint32_t ats_count) |
766 | { | 766 | { |
767 | struct AllocationRecord *ar; | 767 | struct AllocationRecord *ar; |