aboutsummaryrefslogtreecommitdiff
path: root/src/hostlist/hostlist-client.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hostlist/hostlist-client.c')
-rw-r--r--src/hostlist/hostlist-client.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/hostlist/hostlist-client.c b/src/hostlist/hostlist-client.c
index 1f3ad2a7c..ba5093779 100644
--- a/src/hostlist/hostlist-client.c
+++ b/src/hostlist/hostlist-client.c
@@ -1107,10 +1107,12 @@ task_hostlist_saving (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
1107 * @param cls closure 1107 * @param cls closure
1108 * @param peer peer identity this notification is about 1108 * @param peer peer identity this notification is about
1109 * @param atsi performance data 1109 * @param atsi performance data
1110 * @param atsi_count number of records in 'atsi'
1110 */ 1111 */
1111static void 1112static void
1112handler_connect (void *cls, const struct GNUNET_PeerIdentity *peer, 1113handler_connect (void *cls, const struct GNUNET_PeerIdentity *peer,
1113 const struct GNUNET_ATS_Information *atsi) 1114 const struct GNUNET_ATS_Information *atsi,
1115 unsigned int atsi_count)
1114{ 1116{
1115 GNUNET_assert (stat_connection_count < UINT_MAX); 1117 GNUNET_assert (stat_connection_count < UINT_MAX);
1116 stat_connection_count++; 1118 stat_connection_count++;
@@ -1142,13 +1144,15 @@ handler_disconnect (void *cls, const struct GNUNET_PeerIdentity *peer)
1142 * @param peer the peer sending the message 1144 * @param peer the peer sending the message
1143 * @param message the actual message 1145 * @param message the actual message
1144 * @param atsi performance data 1146 * @param atsi performance data
1147 * @param atsi_count number of records in 'atsi'
1145 * @return GNUNET_OK to keep the connection open, 1148 * @return GNUNET_OK to keep the connection open,
1146 * GNUNET_SYSERR to close it (signal serious error) 1149 * GNUNET_SYSERR to close it (signal serious error)
1147 */ 1150 */
1148static int 1151static int
1149handler_advertisement (void *cls, const struct GNUNET_PeerIdentity *peer, 1152handler_advertisement (void *cls, const struct GNUNET_PeerIdentity *peer,
1150 const struct GNUNET_MessageHeader *message, 1153 const struct GNUNET_MessageHeader *message,
1151 const struct GNUNET_ATS_Information *atsi) 1154 const struct GNUNET_ATS_Information *atsi,
1155 unsigned int atsi_count)
1152{ 1156{
1153 size_t size; 1157 size_t size;
1154 size_t uri_size; 1158 size_t uri_size;