- client: copy api_version of APP_VERSIONs in scheduler reply,

even if we already have the APP_VERSION.
    Otherwise, when upgrading from 5.10 to 6.2,
    we won't have the api_version,
    and we won't learn about it until project releases new version.

svn path=/trunk/boinc/; revision=15277
This commit is contained in:
David Anderson 2008-05-22 19:09:52 +00:00
parent 9a390c235d
commit d1b0f1d295
2 changed files with 12 additions and 0 deletions

View File

@ -4233,3 +4233,14 @@ David May 21 2008
lib/
boinc_cmd.C
win_util.C,h
David May 22 2008
- client: copy api_version of APP_VERSIONs in scheduler reply,
even if we already have the APP_VERSION.
Otherwise, when upgrading from 5.10 to 6.2,
we won't have the api_version,
and we won't learn about it until project releases new version.
client/
cs_scheduler.C

View File

@ -680,6 +680,7 @@ int CLIENT_STATE::handle_scheduler_reply(
strcpy(avp->cmdline, avpp.cmdline);
avp->coprocs.delete_coprocs();
avp->coprocs = avpp.coprocs;
strlcpy(avp->api_version, avpp.api_version, sizeof(avp->api_version));
// if we had download failures, clear them
//