mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=5476
This commit is contained in:
parent
506baf9595
commit
09d574d246
|
@ -25007,3 +25007,15 @@ David 18 Feb 2005
|
|||
|
||||
client/
|
||||
http.C,h
|
||||
|
||||
David 18 Feb 2005
|
||||
- For some reason I removed a strdup() in my 17 Feb checkin to start.C,
|
||||
which caused memory corruption on all platforms.
|
||||
It's back now
|
||||
- handle </venue> in PROJECT::parse_account().
|
||||
Gets rid of a spurious warning
|
||||
|
||||
client/
|
||||
app_start.C
|
||||
cs_account.C
|
||||
scheduler_op.C
|
||||
|
|
|
@ -141,7 +141,7 @@ int ACTIVE_TASK::write_app_init_file() {
|
|||
safe_strcpy(aid.user_name, wup->project->user_name);
|
||||
safe_strcpy(aid.team_name, wup->project->team_name);
|
||||
if (wup->project->project_specific_prefs.length()) {
|
||||
aid.project_preferences = (char*)wup->project->project_specific_prefs.c_str();
|
||||
aid.project_preferences = strdup(wup->project->project_specific_prefs.c_str());
|
||||
}
|
||||
get_project_dir(wup->project, project_dir);
|
||||
relative_to_absolute(project_dir, project_path);
|
||||
|
|
|
@ -137,6 +137,7 @@ int PROJECT::parse_account(FILE* in) {
|
|||
}
|
||||
continue;
|
||||
}
|
||||
else if (match_tag(buf, "</venue>")) continue;
|
||||
|
||||
else if (parse_str(buf, "<master_url>", master_url, sizeof(master_url))) {
|
||||
canonicalize_master_url(master_url);
|
||||
|
|
|
@ -606,7 +606,9 @@ int SCHEDULER_REPLY::parse(FILE* in, PROJECT* project) {
|
|||
}
|
||||
continue;
|
||||
}
|
||||
if (match_tag(buf, "</scheduler_reply>")) return 0;
|
||||
if (match_tag(buf, "</scheduler_reply>")) {
|
||||
return 0;
|
||||
}
|
||||
else if (parse_str(buf, "<project_name>", project->project_name, sizeof(project->project_name))) continue;
|
||||
else if (parse_str(buf, "<user_name>", project->user_name, sizeof(project->user_name))) continue;
|
||||
else if (parse_double(buf, "<user_total_credit>", project->user_total_credit)) continue;
|
||||
|
|
Loading…
Reference in New Issue