aboutsummaryrefslogtreecommitdiff
path: root/src/transport/gnunet-service-tng.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/gnunet-service-tng.c')
-rw-r--r--src/transport/gnunet-service-tng.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/transport/gnunet-service-tng.c b/src/transport/gnunet-service-tng.c
index 29f8998ed..a75292a49 100644
--- a/src/transport/gnunet-service-tng.c
+++ b/src/transport/gnunet-service-tng.c
@@ -6415,7 +6415,10 @@ completed_pending_message (struct PendingMessage *pm)
6415 GNUNET_CONTAINER_MDLL_remove (frag, pos->head_frag, pos->tail_frag, pm); 6415 GNUNET_CONTAINER_MDLL_remove (frag, pos->head_frag, pos->tail_frag, pm);
6416 free_pending_message (pm); 6416 free_pending_message (pm);
6417 /* check if subtree is done */ 6417 /* check if subtree is done */
6418 while ((NULL == pos->head_frag) && (pos->frag_off == pos->bytes_msg) && 6418 while ((NULL == pos->head_frag) && (pos->frag_off == (pos->bytes_msg
6419 - sizeof(struct
6420 TransportFragmentBoxMessage)))
6421 &&
6419 (NULL != pos->frag_parent)) 6422 (NULL != pos->frag_parent))
6420 { 6423 {
6421 pm = pos; 6424 pm = pos;