aboutsummaryrefslogtreecommitdiff
path: root/src/ats/gnunet-service-ats_scheduling.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-02-05 12:52:20 +0000
committerChristian Grothoff <christian@grothoff.org>2015-02-05 12:52:20 +0000
commitc55971f17dc99f9833af48e078c8f681be771cb7 (patch)
tree544fd671b67903506419c98d463d086a696e25a1 /src/ats/gnunet-service-ats_scheduling.c
parent15dd8e6cc1199d611d804853e134882bf13b234a (diff)
downloadgnunet-c55971f17dc99f9833af48e078c8f681be771cb7.tar.gz
gnunet-c55971f17dc99f9833af48e078c8f681be771cb7.zip
big ATS refactoring, no serious semantic changes should stem from this
Diffstat (limited to 'src/ats/gnunet-service-ats_scheduling.c')
-rw-r--r--src/ats/gnunet-service-ats_scheduling.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ats/gnunet-service-ats_scheduling.c b/src/ats/gnunet-service-ats_scheduling.c
index 9d7562e7b..e1e60c063 100644
--- a/src/ats/gnunet-service-ats_scheduling.c
+++ b/src/ats/gnunet-service-ats_scheduling.c
@@ -99,7 +99,8 @@ GAS_scheduling_transmit_address_suggestion (const struct GNUNET_PeerIdentity *pe
99 if (NULL == my_client) 99 if (NULL == my_client)
100 return; 100 return;
101 GNUNET_STATISTICS_update (GSA_stats, 101 GNUNET_STATISTICS_update (GSA_stats,
102 "# address suggestions made", 1, 102 "# address suggestions made",
103 1,
103 GNUNET_NO); 104 GNUNET_NO);
104 msg.header.size = htons (sizeof (struct AddressSuggestionMessage)); 105 msg.header.size = htons (sizeof (struct AddressSuggestionMessage));
105 msg.header.type = htons (GNUNET_MESSAGE_TYPE_ATS_ADDRESS_SUGGESTION); 106 msg.header.type = htons (GNUNET_MESSAGE_TYPE_ATS_ADDRESS_SUGGESTION);
@@ -179,7 +180,7 @@ GAS_handle_address_add (void *cls,
179 plugin_name, 180 plugin_name,
180 address, 181 address,
181 address_length, 182 address_length,
182 ntohl(m->address_local_info), 183 ntohl (m->address_local_info),
183 ntohl (m->session_id), 184 ntohl (m->session_id),
184 atsi, ats_count); 185 atsi, ats_count);
185 GNUNET_SERVER_receive_done (client, GNUNET_OK); 186 GNUNET_SERVER_receive_done (client, GNUNET_OK);