diff options
Diffstat (limited to 'src/transport/gnunet-communicator-udp.c')
-rw-r--r-- | src/transport/gnunet-communicator-udp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/transport/gnunet-communicator-udp.c b/src/transport/gnunet-communicator-udp.c index 585b29c2d..03c120cc9 100644 --- a/src/transport/gnunet-communicator-udp.c +++ b/src/transport/gnunet-communicator-udp.c | |||
@@ -783,7 +783,7 @@ bi_destroy (struct BroadcastInterface *bi) | |||
783 | GNUNET_CONTAINER_DLL_remove (bi_head, bi_tail, bi); | 783 | GNUNET_CONTAINER_DLL_remove (bi_head, bi_tail, bi); |
784 | GNUNET_SCHEDULER_cancel (bi->broadcast_task); | 784 | GNUNET_SCHEDULER_cancel (bi->broadcast_task); |
785 | GNUNET_free (bi->sa); | 785 | GNUNET_free (bi->sa); |
786 | GNUNET_free_non_null (bi->ba); | 786 | GNUNET_free (bi->ba); |
787 | GNUNET_free (bi); | 787 | GNUNET_free (bi); |
788 | } | 788 | } |
789 | 789 | ||
@@ -1309,7 +1309,8 @@ handle_ack (void *cls, const struct GNUNET_PeerIdentity *pid, void *value) | |||
1309 | "Tell transport we have more acks!\n"); | 1309 | "Tell transport we have more acks!\n"); |
1310 | GNUNET_TRANSPORT_communicator_mq_update (ch, | 1310 | GNUNET_TRANSPORT_communicator_mq_update (ch, |
1311 | receiver->d_qh, | 1311 | receiver->d_qh, |
1312 | (allowed - ss->sequence_allowed), | 1312 | (allowed |
1313 | - ss->sequence_allowed), | ||
1313 | 1); | 1314 | 1); |
1314 | ss->sequence_allowed = allowed; | 1315 | ss->sequence_allowed = allowed; |
1315 | /* move ss to head to avoid discarding it anytime soon! */ | 1316 | /* move ss to head to avoid discarding it anytime soon! */ |