mirror of https://github.com/BOINC/boinc.git
parent
e5691b2793
commit
5ae9b4de43
|
@ -344,6 +344,9 @@ int CLIENT_STATE::handle_scheduler_reply(
|
|||
if (strlen(sr.user_name)) {
|
||||
strcpy(project->user_name, sr.user_name);
|
||||
}
|
||||
if (strlen(sr.team_name)) {
|
||||
strcpy(project->team_name, sr.team_name);
|
||||
}
|
||||
project->user_total_credit = sr.user_total_credit;
|
||||
project->user_expavg_credit = sr.user_expavg_credit;
|
||||
project->user_create_time = sr.user_create_time;
|
||||
|
|
|
@ -530,6 +530,7 @@ int SCHEDULER_REPLY::parse(FILE* in) {
|
|||
else if (parse_double(buf, "<user_total_credit>", user_total_credit)) continue;
|
||||
else if (parse_double(buf, "<user_expavg_credit>", user_expavg_credit)) continue;
|
||||
else if (parse_int(buf, "<user_create_time>", (int &)user_create_time)) continue;
|
||||
else if (parse_str(buf, "<team_name>", team_name, sizeof(team_name))) continue;
|
||||
else if (parse_int(buf, "<hostid>", hostid)) continue;
|
||||
else if (parse_double(buf, "<host_total_credit>", host_total_credit)) continue;
|
||||
else if (parse_double(buf, "<host_expavg_credit>", host_expavg_credit)) continue;
|
||||
|
|
|
@ -103,7 +103,7 @@ struct SCHEDULER_REPLY {
|
|||
char project_name[256];
|
||||
char* global_prefs_xml; // not including <global_preferences> tags
|
||||
char* project_prefs_xml; // not including <project_preferences> tags
|
||||
char user_name[256];
|
||||
char user_name[256],team_name[256];
|
||||
double user_total_credit;
|
||||
double user_expavg_credit;
|
||||
unsigned int user_create_time;
|
||||
|
|
Loading…
Reference in New Issue