From e09a9ef73c20b6e207c07f6c59ee34d4e6928fc6 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sat, 27 Nov 2010 20:15:48 +0000 Subject: [PATCH] - client: send host info in account manager request message svn path=/trunk/boinc/; revision=22751 --- checkin_notes | 6 ++++++ client/acct_mgr.cpp | 3 +++ lib/hostinfo.cpp | 2 ++ 3 files changed, 11 insertions(+) diff --git a/checkin_notes b/checkin_notes index 90f9d2e382..7d807be469 100644 --- a/checkin_notes +++ b/checkin_notes @@ -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 diff --git a/client/acct_mgr.cpp b/client/acct_mgr.cpp index 44194a125c..5d3b284fd9 100644 --- a/client/acct_mgr.cpp +++ b/client/acct_mgr.cpp @@ -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, " \n%s\n" diff --git a/lib/hostinfo.cpp b/lib/hostinfo.cpp index c9684f32c9..4b5d5b6b57 100644 --- a/lib/hostinfo.cpp +++ b/lib/hostinfo.cpp @@ -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(