- client: send host info in account manager request message

svn path=/trunk/boinc/; revision=22751
This commit is contained in:
David Anderson 2010-11-27 20:15:48 +00:00
parent 086758bf54
commit e09a9ef73c
3 changed files with 11 additions and 0 deletions

View File

@ -8446,3 +8446,9 @@ David 26 Nov 2010
client/
acct_mgr.cpp
client_types.cpp
David 27 Nov 2010
- client: send host info in account manager request message
client/
acct_mgr.cpp

View File

@ -178,6 +178,9 @@ int ACCT_MGR_OP::do_rpc(
fclose(fprefs);
}
}
MIOFILE mf;
mf.init_file(f);
gstate.host_info.write(mf, !config.suppress_net_info, true);
if (strlen(gstate.acct_mgr_info.opaque)) {
fprintf(f,
" <opaque>\n%s\n"

View File

@ -124,6 +124,8 @@ int HOST_INFO::parse(MIOFILE& in, bool benchmarks_only) {
// - a GUI RPC reply (net info, coprocs)
// - a scheduler request message
// (net info unless config says otherwise, no coprocs)
// - account manager request
// (net info unless config says otherwise, coprocs)
// - app init file (net info, coprocs)
//
int HOST_INFO::write(