- client: bug fix for the above

svn path=/trunk/boinc/; revision=24404
This commit is contained in:
David Anderson 2011-10-16 01:29:57 +00:00
parent f8e7662e1f
commit 0a89805a70
2 changed files with 7 additions and 1 deletions

View File

@ -7297,3 +7297,8 @@ David 14 Oct 2011
cpu_sched.cpp
cs_account.cpp
work_fetch.cpp
David 14 Oct 2011
- client: bug fix for the above
client/
work_fetch.cpp

View File

@ -595,7 +595,7 @@ PROJECT* WORK_FETCH::non_cpu_intensive_project_needing_work() {
// and set the request fields of resource objects
//
PROJECT* WORK_FETCH::choose_project() {
PROJECT* p = 0;
PROJECT* p;
if (log_flags.work_fetch_debug) {
msg_printf(0, MSG_INFO, "[work_fetch] work fetch start");
@ -630,6 +630,7 @@ PROJECT* WORK_FETCH::choose_project() {
}
}
p = 0;
if (use_hyst_fetch) {
if (gpus_usable) {
for (int i=1; i<coprocs.n_rsc; i++) {