diff options
Diffstat (limited to 'src/util/scheduler.c')
-rw-r--r-- | src/util/scheduler.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/util/scheduler.c b/src/util/scheduler.c index 2970d3c25..6a1b1a22d 100644 --- a/src/util/scheduler.c +++ b/src/util/scheduler.c | |||
@@ -1085,9 +1085,7 @@ GNUNET_SCHEDULER_add_at_with_priority (struct GNUNET_TIME_Absolute at, | |||
1085 | pos = pending_timeout_head; | 1085 | pos = pending_timeout_head; |
1086 | else | 1086 | else |
1087 | pos = prev->next; | 1087 | pos = prev->next; |
1088 | while ( (NULL != pos) && | 1088 | while ((NULL != pos) && (pos->timeout.abs_value_us <= t->timeout.abs_value_us)) |
1089 | ( (pos->timeout.abs_value_us <= t->timeout.abs_value_us) || | ||
1090 | (0 != pos->reason) ) ) | ||
1091 | { | 1089 | { |
1092 | prev = pos; | 1090 | prev = pos; |
1093 | pos = pos->next; | 1091 | pos = pos->next; |