diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-07-15 08:24:02 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-07-15 08:24:02 +0000 |
commit | 01fb23bbff6ba3b2337442151a0e7764d9a6ade7 (patch) | |
tree | 1a964bb7d4a3fd7135abef2269d68b39491f4a43 /src/fragmentation | |
parent | 88ef0223c7d11ee0783142f871b4d10aef4dad77 (diff) | |
download | gnunet-01fb23bbff6ba3b2337442151a0e7764d9a6ade7.tar.gz gnunet-01fb23bbff6ba3b2337442151a0e7764d9a6ade7.zip |
not zero
Diffstat (limited to 'src/fragmentation')
-rw-r--r-- | src/fragmentation/fragmentation.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fragmentation/fragmentation.c b/src/fragmentation/fragmentation.c index 6afdc1533..524db5230 100644 --- a/src/fragmentation/fragmentation.c +++ b/src/fragmentation/fragmentation.c | |||
@@ -202,6 +202,9 @@ transmit_next (void *cls, | |||
202 | /* full round transmitted wait 2x delay for ACK before going again */ | 202 | /* full round transmitted wait 2x delay for ACK before going again */ |
203 | delay = GNUNET_TIME_relative_max (GNUNET_TIME_relative_multiply (delay, 2), | 203 | delay = GNUNET_TIME_relative_max (GNUNET_TIME_relative_multiply (delay, 2), |
204 | fc->delay); | 204 | fc->delay); |
205 | /* never use zero, need some time for ACK always */ | ||
206 | delay = GNUNET_TIME_relative_max (GNUNET_TIME_UNIT_MILLISECONDS, | ||
207 | delay); | ||
205 | fc->last_round = GNUNET_TIME_absolute_get (); | 208 | fc->last_round = GNUNET_TIME_absolute_get (); |
206 | fc->wack = GNUNET_YES; | 209 | fc->wack = GNUNET_YES; |
207 | } | 210 | } |