aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/fragmentation/fragmentation.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fragmentation/fragmentation.c b/src/fragmentation/fragmentation.c
index 524db5230..71a84225c 100644
--- a/src/fragmentation/fragmentation.c
+++ b/src/fragmentation/fragmentation.c
@@ -253,7 +253,7 @@ GNUNET_FRAGMENT_context_create (struct GNUNET_STATISTICS_Handle *stats,
253 GNUNET_STATISTICS_update (stats, 253 GNUNET_STATISTICS_update (stats,
254 _("# total size of fragmented messages"), 254 _("# total size of fragmented messages"),
255 size, GNUNET_NO); 255 size, GNUNET_NO);
256 GNUNET_assert (size > mtu); 256 //GNUNET_assert (size > mtu);
257 fc = GNUNET_malloc (sizeof (struct GNUNET_FRAGMENT_Context) + size); 257 fc = GNUNET_malloc (sizeof (struct GNUNET_FRAGMENT_Context) + size);
258 fc->stats = stats; 258 fc->stats = stats;
259 fc->mtu = mtu; 259 fc->mtu = mtu;
@@ -347,6 +347,7 @@ GNUNET_FRAGMENT_process_ack (struct GNUNET_FRAGMENT_Context *fc,
347 if (0 != fc->acks) 347 if (0 != fc->acks)
348 { 348 {
349 /* more to transmit, do so right now (if tracker permits...) */ 349 /* more to transmit, do so right now (if tracker permits...) */
350 GNUNET_assert(fc->task != GNUNET_SCHEDULER_NO_TASK);
350 GNUNET_SCHEDULER_cancel (fc->task); 351 GNUNET_SCHEDULER_cancel (fc->task);
351 fc->task = GNUNET_SCHEDULER_add_now (&transmit_next, 352 fc->task = GNUNET_SCHEDULER_add_now (&transmit_next,
352 fc); 353 fc);