aboutsummaryrefslogtreecommitdiff
path: root/src/cadet/gnunet-service-cadet_connection.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cadet/gnunet-service-cadet_connection.c')
-rw-r--r--src/cadet/gnunet-service-cadet_connection.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cadet/gnunet-service-cadet_connection.c b/src/cadet/gnunet-service-cadet_connection.c
index ab8f94fc4..c1a75fca4 100644
--- a/src/cadet/gnunet-service-cadet_connection.c
+++ b/src/cadet/gnunet-service-cadet_connection.c
@@ -1709,7 +1709,7 @@ GCC_handle_confirm (void *cls, const struct GNUNET_PeerIdentity *peer,
1709 } 1709 }
1710 else if (get_prev_hop (c) == pi) 1710 else if (get_prev_hop (c) == pi)
1711 { 1711 {
1712 LOG (GNUNET_ERROR_TYPE_DEBUG, " ACK\n"); 1712 LOG (GNUNET_ERROR_TYPE_DEBUG, " FINAL ACK\n");
1713 fwd = GNUNET_YES; 1713 fwd = GNUNET_YES;
1714 connection_change_state (c, CADET_CONNECTION_READY); 1714 connection_change_state (c, CADET_CONNECTION_READY);
1715 } 1715 }
@@ -2693,7 +2693,7 @@ GCC_get_allowed (struct CadetConnection *c, int fwd)
2693 struct CadetFlowControl *fc; 2693 struct CadetFlowControl *fc;
2694 2694
2695 fc = fwd ? &c->fwd_fc : &c->bck_fc; 2695 fc = fwd ? &c->fwd_fc : &c->bck_fc;
2696 if (GC_is_pid_bigger(fc->last_pid_recv, fc->last_ack_sent)) 2696 if (GC_is_pid_bigger (fc->last_pid_recv, fc->last_ack_sent))
2697 { 2697 {
2698 return 0; 2698 return 0;
2699 } 2699 }