diff options
Diffstat (limited to 'src/core/core_api_iterate_peers.c')
-rw-r--r-- | src/core/core_api_iterate_peers.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/core_api_iterate_peers.c b/src/core/core_api_iterate_peers.c index 0cc28e538..ed9ea175e 100644 --- a/src/core/core_api_iterate_peers.c +++ b/src/core/core_api_iterate_peers.c | |||
@@ -101,8 +101,8 @@ receive_info (void *cls, const struct GNUNET_MessageHeader *msg) | |||
101 | ats_count = ntohl (connect_message->ats_count); | 101 | ats_count = ntohl (connect_message->ats_count); |
102 | if ((msize != | 102 | if ((msize != |
103 | sizeof (struct ConnectNotifyMessage) + | 103 | sizeof (struct ConnectNotifyMessage) + |
104 | ats_count * sizeof (struct GNUNET_TRANSPORT_ATS_Information)) || | 104 | ats_count * sizeof (struct GNUNET_ATS_Information)) || |
105 | (GNUNET_TRANSPORT_ATS_ARRAY_TERMINATOR != | 105 | (GNUNET_ATS_ARRAY_TERMINATOR != |
106 | ntohl ((&connect_message->ats)[ats_count].type))) | 106 | ntohl ((&connect_message->ats)[ats_count].type))) |
107 | { | 107 | { |
108 | GNUNET_break (0); | 108 | GNUNET_break (0); |