diff options
Diffstat (limited to 'src/util/scheduler.c')
-rw-r--r-- | src/util/scheduler.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/scheduler.c b/src/util/scheduler.c index a14d4f1d7..0e7a16275 100644 --- a/src/util/scheduler.c +++ b/src/util/scheduler.c | |||
@@ -424,7 +424,7 @@ get_timeout () | |||
424 | { | 424 | { |
425 | if (0 != pos->reason) | 425 | if (0 != pos->reason) |
426 | { | 426 | { |
427 | timeout = now; | 427 | return now; |
428 | } | 428 | } |
429 | else | 429 | else |
430 | { | 430 | { |
@@ -435,7 +435,7 @@ get_timeout () | |||
435 | { | 435 | { |
436 | if (0 != pos->reason) | 436 | if (0 != pos->reason) |
437 | { | 437 | { |
438 | timeout = now; | 438 | return now; |
439 | } | 439 | } |
440 | else if ((pos->timeout.abs_value_us != GNUNET_TIME_UNIT_FOREVER_ABS.abs_value_us) && | 440 | else if ((pos->timeout.abs_value_us != GNUNET_TIME_UNIT_FOREVER_ABS.abs_value_us) && |
441 | (timeout.abs_value_us > pos->timeout.abs_value_us)) | 441 | (timeout.abs_value_us > pos->timeout.abs_value_us)) |