diff options
Diffstat (limited to 'src/fragmentation/defragmentation.c')
-rw-r--r-- | src/fragmentation/defragmentation.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fragmentation/defragmentation.c b/src/fragmentation/defragmentation.c index bc401435e..cc0f5a8c5 100644 --- a/src/fragmentation/defragmentation.c +++ b/src/fragmentation/defragmentation.c | |||
@@ -564,8 +564,8 @@ GNUNET_DEFRAGMENT_process_fragment (struct GNUNET_DEFRAGMENT_Context *dc, | |||
564 | { | 564 | { |
565 | dc->latency = estimate_latency (mc); | 565 | dc->latency = estimate_latency (mc); |
566 | } | 566 | } |
567 | delay = GNUNET_TIME_relative_multiply (dc->latency, | 567 | delay = GNUNET_TIME_relative_saturating_multiply (dc->latency, |
568 | bc + 1); | 568 | bc + 1); |
569 | if ( (last + fid == num_fragments) || | 569 | if ( (last + fid == num_fragments) || |
570 | (0 == mc->bits) || | 570 | (0 == mc->bits) || |
571 | (GNUNET_YES == duplicate) ) | 571 | (GNUNET_YES == duplicate) ) |