diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-08-30 21:21:50 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-08-30 21:21:50 +0000 |
commit | 0dcec46d04c452596436cadc3956f96a78fe1551 (patch) | |
tree | fd606de5e9cac6ca1851eff1d878c60026c93bc9 | |
parent | 3d057f5b6777d009af0222340b38fb3b4c1d69b0 (diff) | |
download | gnunet-0dcec46d04c452596436cadc3956f96a78fe1551.tar.gz gnunet-0dcec46d04c452596436cadc3956f96a78fe1551.zip |
assert
-rw-r--r-- | src/util/scheduler.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/scheduler.c b/src/util/scheduler.c index 0ff6f9612..eb99414f2 100644 --- a/src/util/scheduler.c +++ b/src/util/scheduler.c | |||
@@ -875,7 +875,7 @@ GNUNET_SCHEDULER_get_load (struct GNUNET_SCHEDULER_Handle *sched, | |||
875 | if (p == GNUNET_SCHEDULER_PRIORITY_KEEP) | 875 | if (p == GNUNET_SCHEDULER_PRIORITY_KEEP) |
876 | p = sched->current_priority; | 876 | p = sched->current_priority; |
877 | ret = 0; | 877 | ret = 0; |
878 | pos = sched->ready[p]; | 878 | pos = sched->ready[check_priority (p)]; |
879 | while (pos != NULL) | 879 | while (pos != NULL) |
880 | { | 880 | { |
881 | pos = pos->next; | 881 | pos = pos->next; |