- client: include app versions only of this project in sched req

svn path=/trunk/boinc/; revision=21523
This commit is contained in:
David Anderson 2010-05-14 17:39:20 +00:00
parent 50724b0ed9
commit 90e1e58113
2 changed files with 7 additions and 0 deletions

View File

@ -3661,3 +3661,9 @@ David 14 May 2010
filesys.cpp filesys.cpp
api/ api/
Makefile.mingw Makefile.mingw
David 14 May 2010
- client: include app versions only of this project in sched req
client/
cs_scheduler.cpp

View File

@ -285,6 +285,7 @@ int CLIENT_STATE::make_scheduler_request(PROJECT* p) {
fprintf(f, "<app_versions>\n"); fprintf(f, "<app_versions>\n");
for (i=0; i<app_versions.size(); i++) { for (i=0; i<app_versions.size(); i++) {
APP_VERSION* avp = app_versions[i]; APP_VERSION* avp = app_versions[i];
if (avp->project != p) continue;
avp->write(mf, false); avp->write(mf, false);
avp->index = i; avp->index = i;
} }