- client: possibly fix bug that caused no-GPU prefs to be ignored

svn path=/trunk/boinc/; revision=23817
This commit is contained in:
David Anderson 2011-07-08 07:17:25 +00:00
parent a21abed078
commit f60700cff4
2 changed files with 9 additions and 0 deletions

View File

@ -3954,3 +3954,9 @@ David 7 July 2011
client/
sandbox.cpp
rr_sim.cpp
David 7 July 2011
- client: possibly fix bug that caused no-GPU prefs to be ignored
client/
client_types.cpp

View File

@ -544,6 +544,9 @@ void PROJECT::copy_state_fields(PROJECT& p) {
safe_strcpy(code_sign_key, p.code_sign_key);
for (int i=0; i<MAX_RSC; i++) {
rsc_pwf[i] = p.rsc_pwf[i];
no_rsc_pref[i] = p.no_rsc_pref[i];
no_rsc_apps[i] = p.no_rsc_apps[i];
no_rsc_ams[i] = p.no_rsc_ams[i];
}
pwf = p.pwf;
send_full_workload = p.send_full_workload;