aboutsummaryrefslogtreecommitdiff
path: root/src/transport/gnunet-service-transport_neighbours.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-10-31 13:03:48 +0100
committerChristian Grothoff <christian@grothoff.org>2019-10-31 13:03:48 +0100
commit7e3cf5f461eb4fbb7581672bf0835da07c378136 (patch)
treebdc3874b7894242b095b892f1ed3e81a4d4f06c0 /src/transport/gnunet-service-transport_neighbours.c
parent01b480d6d026e0c537dc284a7e7df2c0320a3528 (diff)
downloadgnunet-7e3cf5f461eb4fbb7581672bf0835da07c378136.tar.gz
gnunet-7e3cf5f461eb4fbb7581672bf0835da07c378136.zip
tighten formatting rules
Diffstat (limited to 'src/transport/gnunet-service-transport_neighbours.c')
-rw-r--r--src/transport/gnunet-service-transport_neighbours.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/transport/gnunet-service-transport_neighbours.c b/src/transport/gnunet-service-transport_neighbours.c
index 3de10d108..9c6cebc24 100644
--- a/src/transport/gnunet-service-transport_neighbours.c
+++ b/src/transport/gnunet-service-transport_neighbours.c
@@ -3568,9 +3568,7 @@ GST_neighbours_handle_session_ack (const struct GNUNET_MessageHeader *message,
3568 We expect a ACK: 3568 We expect a ACK:
3569 - If a remote peer has sent a SYN, we responded with a SYN_ACK and 3569 - If a remote peer has sent a SYN, we responded with a SYN_ACK and
3570 now wait for the ACK to finally be connected 3570 now wait for the ACK to finally be connected
3571 - If we sent a SYN_ACK to this peer before */ 3571 - If we sent a SYN_ACK to this peer before */if (((GNUNET_TRANSPORT_PS_SYN_RECV_ACK != n->state) &&
3572
3573 if (((GNUNET_TRANSPORT_PS_SYN_RECV_ACK != n->state) &&
3574 (ACK_SEND_ACK != n->ack_state)) || 3572 (ACK_SEND_ACK != n->ack_state)) ||
3575 (NULL == n->primary_address.address)) 3573 (NULL == n->primary_address.address))
3576 { 3574 {
@@ -3606,8 +3604,7 @@ GST_neighbours_handle_session_ack (const struct GNUNET_MessageHeader *message,
3606 * an ACK. 3604 * an ACK.
3607 * That suggests that the primary_address used to be non-NULL, but maybe it 3605 * That suggests that the primary_address used to be non-NULL, but maybe it
3608 * got reset to NULL without the state being changed appropriately? 3606 * got reset to NULL without the state being changed appropriately?
3609 */ 3607 */GNUNET_break (0);
3610 GNUNET_break (0);
3611 return GNUNET_OK; 3608 return GNUNET_OK;
3612 } 3609 }
3613 3610