aboutsummaryrefslogtreecommitdiff
path: root/src/cadet/gnunet-service-cadet_channel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cadet/gnunet-service-cadet_channel.c')
-rw-r--r--src/cadet/gnunet-service-cadet_channel.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/cadet/gnunet-service-cadet_channel.c b/src/cadet/gnunet-service-cadet_channel.c
index 0a261039c..a2c710cbc 100644
--- a/src/cadet/gnunet-service-cadet_channel.c
+++ b/src/cadet/gnunet-service-cadet_channel.c
@@ -1238,8 +1238,7 @@ GCCH_handle_channel_plaintext_data (
1238 * - The channel is out-of-order 1238 * - The channel is out-of-order
1239 * - The channel is reliable and MID matches next expected MID 1239 * - The channel is reliable and MID matches next expected MID
1240 * - The channel is unreliable and MID is before lowest seen MID 1240 * - The channel is unreliable and MID is before lowest seen MID
1241 */ 1241 */if ((GNUNET_YES == ch->out_of_order) ||
1242 if ((GNUNET_YES == ch->out_of_order) ||
1243 ((msg->mid.mid == ch->mid_recv.mid) && (GNUNET_YES == ch->reliable)) || 1242 ((msg->mid.mid == ch->mid_recv.mid) && (GNUNET_YES == ch->reliable)) ||
1244 ((GNUNET_NO == ch->reliable) && 1243 ((GNUNET_NO == ch->reliable) &&
1245 (ntohl (msg->mid.mid) >= ntohl (ch->mid_recv.mid)) && 1244 (ntohl (msg->mid.mid) >= ntohl (ch->mid_recv.mid)) &&
@@ -1415,8 +1414,7 @@ GCCH_handle_channel_plaintext_data (
1415 the case above if "delta" >= 64, which could be the case if 1414 the case above if "delta" >= 64, which could be the case if
1416 max_pending_messages is also >= 64 or if our client is unready 1415 max_pending_messages is also >= 64 or if our client is unready
1417 and we are seeing retransmissions of the message our client is 1416 and we are seeing retransmissions of the message our client is
1418 blocked on. */ 1417 blocked on. */LOG (GNUNET_ERROR_TYPE_DEBUG,
1419 LOG (GNUNET_ERROR_TYPE_DEBUG,
1420 "Duplicate payload of %u bytes on %s (mid %u) dropped\n", 1418 "Duplicate payload of %u bytes on %s (mid %u) dropped\n",
1421 (unsigned int) payload_size, 1419 (unsigned int) payload_size,
1422 GCCH_2s (ch), 1420 GCCH_2s (ch),