- scheduler: fix bug that broke broadcast jobs (from Kevin)

svn path=/trunk/boinc/; revision=25258
This commit is contained in:
David Anderson 2012-02-14 16:58:18 +00:00
parent 66c904ad59
commit ba04760fee
2 changed files with 55 additions and 49 deletions

View File

@ -1670,3 +1670,9 @@ Charlie 13 Feb 2012
client/ client/
check_security.cpp check_security.cpp
David 14 Feb 2012
- scheduler: fix bug that broke broadcast jobs (from Kevin)
sched/
sched_shmem.cpp

View File

@ -184,7 +184,7 @@ int SCHED_SHMEM::scan_tables() {
} }
n = 0; n = 0;
while (!assignment.enumerate("multi <> 0")) { while (!assignment.enumerate("where multi <> 0")) {
assignments[n++] = assignment; assignments[n++] = assignment;
if (n == MAX_ASSIGNMENTS) { if (n == MAX_ASSIGNMENTS) {
overflow("assignments", "MAX_ASSIGNMENTS"); overflow("assignments", "MAX_ASSIGNMENTS");