diff options
Diffstat (limited to 'src/ats/gnunet-service-ats_performance.c')
-rw-r--r-- | src/ats/gnunet-service-ats_performance.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ats/gnunet-service-ats_performance.c b/src/ats/gnunet-service-ats_performance.c index f0fe1927c..831afb418 100644 --- a/src/ats/gnunet-service-ats_performance.c +++ b/src/ats/gnunet-service-ats_performance.c | |||
@@ -85,6 +85,7 @@ notify_client (struct GNUNET_SERVER_Client *client, | |||
85 | struct GNUNET_SERVER_NotificationContext *nc; | 85 | struct GNUNET_SERVER_NotificationContext *nc; |
86 | char *addrp; | 86 | char *addrp; |
87 | 87 | ||
88 | GNUNET_break (GNUNET_ATS_NET_UNSPECIFIED != prop->scope); | ||
88 | GNUNET_assert (msize < GNUNET_SERVER_MAX_MESSAGE_SIZE); | 89 | GNUNET_assert (msize < GNUNET_SERVER_MAX_MESSAGE_SIZE); |
89 | msg = (struct PeerInformationMessage *) buf; | 90 | msg = (struct PeerInformationMessage *) buf; |
90 | msg->header.size = htons (msize); | 91 | msg->header.size = htons (msize); |
@@ -159,6 +160,7 @@ GAS_performance_notify_all_clients (const struct GNUNET_PeerIdentity *peer, | |||
159 | struct GNUNET_BANDWIDTH_Value32NBO bandwidth_out, | 160 | struct GNUNET_BANDWIDTH_Value32NBO bandwidth_out, |
160 | struct GNUNET_BANDWIDTH_Value32NBO bandwidth_in) | 161 | struct GNUNET_BANDWIDTH_Value32NBO bandwidth_in) |
161 | { | 162 | { |
163 | GNUNET_break (GNUNET_ATS_NET_UNSPECIFIED != prop->scope); | ||
162 | notify_client (NULL, | 164 | notify_client (NULL, |
163 | peer, | 165 | peer, |
164 | plugin_name, | 166 | plugin_name, |
@@ -212,6 +214,7 @@ peerinfo_it (void *cls, | |||
212 | plugin_name, | 214 | plugin_name, |
213 | (unsigned int) ntohl (bandwidth_out.value__), | 215 | (unsigned int) ntohl (bandwidth_out.value__), |
214 | (unsigned int) ntohl (bandwidth_in.value__)); | 216 | (unsigned int) ntohl (bandwidth_in.value__)); |
217 | GNUNET_break (GNUNET_ATS_NET_UNSPECIFIED != prop->scope); | ||
215 | notify_client (client, | 218 | notify_client (client, |
216 | id, | 219 | id, |
217 | plugin_name, | 220 | plugin_name, |