mirror of https://github.com/BOINC/boinc.git
client: clear no_rsc_apps[] flags before parsing scheduler reply. Otherwise they'll never get cleared if server doesn't explicitly send.
This commit is contained in:
parent
a3b2be239f
commit
9778177448
|
@ -905,4 +905,3 @@ void PROJECT::check_no_apps() {
|
|||
no_rsc_apps[avp->gpu_usage.rsc_type] = false;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -592,6 +592,10 @@ int SCHEDULER_REPLY::parse(FILE* in, PROJECT* project) {
|
|||
sr_feeds.clear();
|
||||
trickle_up_urls.clear();
|
||||
|
||||
for (int i=0; i<MAX_RSC; i++) {
|
||||
project->no_rsc_apps[i] = false;
|
||||
}
|
||||
|
||||
// First line should either be tag (HTTP 1.0) or
|
||||
// hex length of response (HTTP 1.1)
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue