diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-10-26 22:13:01 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-10-26 22:13:01 +0000 |
commit | 64d3e46cfb99a711e500fa1f114e7c44bdf10040 (patch) | |
tree | 83093d92761d5c1b8b2fded713adaa19af29274c /src/stream | |
parent | ef6f05f63769263a5201636c4b7f71eaa455cdf3 (diff) | |
download | gnunet-64d3e46cfb99a711e500fa1f114e7c44bdf10040.tar.gz gnunet-64d3e46cfb99a711e500fa1f114e7c44bdf10040.zip |
-bugfixes, code cleanup
Diffstat (limited to 'src/stream')
-rw-r--r-- | src/stream/stream_api.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stream/stream_api.c b/src/stream/stream_api.c index a5ca040b9..b712eb3d8 100644 --- a/src/stream/stream_api.c +++ b/src/stream/stream_api.c | |||
@@ -895,6 +895,7 @@ write_data (struct GNUNET_STREAM_Socket *socket) | |||
895 | packet++; | 895 | packet++; |
896 | } | 896 | } |
897 | io_handle->packets_sent = packet; | 897 | io_handle->packets_sent = packet; |
898 | // FIXME: 8s is not good, should use GNUNET_TIME_STD_BACKOFF... | ||
898 | if (GNUNET_SCHEDULER_NO_TASK == socket->data_retransmission_task_id) | 899 | if (GNUNET_SCHEDULER_NO_TASK == socket->data_retransmission_task_id) |
899 | socket->data_retransmission_task_id = | 900 | socket->data_retransmission_task_id = |
900 | GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_relative_multiply | 901 | GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_relative_multiply |