aboutsummaryrefslogtreecommitdiff
path: root/src/fragmentation/fragmentation.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-07-15 08:24:02 +0000
committerChristian Grothoff <christian@grothoff.org>2011-07-15 08:24:02 +0000
commit01fb23bbff6ba3b2337442151a0e7764d9a6ade7 (patch)
tree1a964bb7d4a3fd7135abef2269d68b39491f4a43 /src/fragmentation/fragmentation.c
parent88ef0223c7d11ee0783142f871b4d10aef4dad77 (diff)
not zero
Diffstat (limited to 'src/fragmentation/fragmentation.c')
-rw-r--r--src/fragmentation/fragmentation.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fragmentation/fragmentation.c b/src/fragmentation/fragmentation.c
index 6afdc15334..524db52306 100644
--- a/src/fragmentation/fragmentation.c
+++ b/src/fragmentation/fragmentation.c
@@ -202,6 +202,9 @@ transmit_next (void *cls,
/* full round transmitted wait 2x delay for ACK before going again */
delay = GNUNET_TIME_relative_max (GNUNET_TIME_relative_multiply (delay, 2),
fc->delay);
+ /* never use zero, need some time for ACK always */
+ delay = GNUNET_TIME_relative_max (GNUNET_TIME_UNIT_MILLISECONDS,
+ delay);
fc->last_round = GNUNET_TIME_absolute_get ();
fc->wack = GNUNET_YES;
}