- client: typo in work fetch code; may cause minor errors

svn path=/trunk/boinc/; revision=17691
This commit is contained in:
David Anderson 2009-03-28 04:20:44 +00:00
parent 3638e37452
commit 62ac6358e6
2 changed files with 7 additions and 3 deletions

View File

@ -3455,3 +3455,9 @@ David 27 Mar 2009
clientgui/
ProjectInfoPage.cpp
David 27 Mar 2009
- client: typo in work fetch code; may cause minor errors
client/
work_fetch.cpp

View File

@ -427,20 +427,18 @@ PROJECT* WORK_FETCH::choose_project() {
if (!p) {
p = cpu_work_fetch.choose_project(FETCH_IF_IDLE_INSTANCE);
}
if (coproc_cuda) {
if (!p && coproc_cuda) {
p = cuda_work_fetch.choose_project(FETCH_IF_MAJOR_SHORTFALL);
}
if (!p) {
p = cpu_work_fetch.choose_project(FETCH_IF_MAJOR_SHORTFALL);
}
if (!p && coproc_cuda) {
p = cuda_work_fetch.choose_project(FETCH_IF_MINOR_SHORTFALL);
}
if (!p) {
p = cpu_work_fetch.choose_project(FETCH_IF_MINOR_SHORTFALL);
}
if (!p && coproc_cuda) {
p = cuda_work_fetch.choose_project(FETCH_IF_PROJECT_STARVED);
}