aboutsummaryrefslogtreecommitdiff
path: root/src/transport/gnunet-service-transport_neighbours.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/gnunet-service-transport_neighbours.c')
-rw-r--r--src/transport/gnunet-service-transport_neighbours.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/transport/gnunet-service-transport_neighbours.c b/src/transport/gnunet-service-transport_neighbours.c
index 01546ded4..461d2669a 100644
--- a/src/transport/gnunet-service-transport_neighbours.c
+++ b/src/transport/gnunet-service-transport_neighbours.c
@@ -3530,7 +3530,7 @@ GST_neighbours_handle_session_ack (const struct GNUNET_MessageHeader *message,
3530 3530
3531 if ( ( (GNUNET_TRANSPORT_PS_SYN_RECV_ACK != n->state) && 3531 if ( ( (GNUNET_TRANSPORT_PS_SYN_RECV_ACK != n->state) &&
3532 (ACK_SEND_ACK != n->ack_state) ) || 3532 (ACK_SEND_ACK != n->ack_state) ) ||
3533 (NULL == n->primary_address.address) ) 3533 (NULL == n->primary_address.address) )
3534 { 3534 {
3535 GNUNET_log (GNUNET_ERROR_TYPE_WARNING, 3535 GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
3536 "Received unexpected ACK message from peer `%s' in state %s/%s\n", 3536 "Received unexpected ACK message from peer `%s' in state %s/%s\n",
@@ -3850,10 +3850,11 @@ neighbours_iterate (void *cls,
3850 * Iterate over all connected neighbours. 3850 * Iterate over all connected neighbours.
3851 * 3851 *
3852 * @param cb function to call 3852 * @param cb function to call
3853 * @param cb_cls closure for cb 3853 * @param cb_cls closure for @a cb
3854 */ 3854 */
3855void 3855void
3856GST_neighbours_iterate (GST_NeighbourIterator cb, void *cb_cls) 3856GST_neighbours_iterate (GST_NeighbourIterator cb,
3857 void *cb_cls)
3857{ 3858{
3858 struct IteratorContext ic; 3859 struct IteratorContext ic;
3859 3860
@@ -3930,7 +3931,7 @@ GST_neighbours_start (unsigned int max_fds)
3930 * 3931 *
3931 * @param cls unused 3932 * @param cls unused
3932 * @param key hash of neighbour's public key (not used) 3933 * @param key hash of neighbour's public key (not used)
3933 * @param value the 'struct NeighbourMapEntry' of the neighbour 3934 * @param value the `struct NeighbourMapEntry` of the neighbour
3934 * @return #GNUNET_OK (continue to iterate) 3935 * @return #GNUNET_OK (continue to iterate)
3935 */ 3936 */
3936static int 3937static int