diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-01-22 00:46:03 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-01-22 00:46:03 +0100 |
commit | 7e9e4e320d6eee5bf6afd876b282609712cb72db (patch) | |
tree | eda9315b99a026c9033d2db0ed7993d4e524700d /src/fragmentation | |
parent | 542bf871c6eebdc645884960559e15ce400939e6 (diff) | |
download | gnunet-7e9e4e320d6eee5bf6afd876b282609712cb72db.tar.gz gnunet-7e9e4e320d6eee5bf6afd876b282609712cb72db.zip |
use new SCHEDULER_add_at API where applicable
Diffstat (limited to 'src/fragmentation')
-rw-r--r-- | src/fragmentation/fragmentation.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/fragmentation/fragmentation.c b/src/fragmentation/fragmentation.c index 02444cf14..f68635100 100644 --- a/src/fragmentation/fragmentation.c +++ b/src/fragmentation/fragmentation.c | |||
@@ -373,8 +373,9 @@ GNUNET_FRAGMENT_context_transmission_done (struct GNUNET_FRAGMENT_Context *fc) | |||
373 | fc->proc_busy = GNUNET_NO; | 373 | fc->proc_busy = GNUNET_NO; |
374 | GNUNET_assert (fc->task == NULL); | 374 | GNUNET_assert (fc->task == NULL); |
375 | fc->task = | 375 | fc->task = |
376 | GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_absolute_get_remaining | 376 | GNUNET_SCHEDULER_add_at (fc->delay_until, |
377 | (fc->delay_until), &transmit_next, fc); | 377 | &transmit_next, |
378 | fc); | ||
378 | } | 379 | } |
379 | 380 | ||
380 | 381 | ||