mirror of https://github.com/BOINC/boinc.git
- fix previous GUI RPC commit
This commit is contained in:
parent
9a073defd1
commit
0880c7107a
client
|
@ -468,6 +468,9 @@ int PROJECT::write_state(MIOFILE& out, bool gui_rpc) {
|
||||||
if (strlen(host_venue)) {
|
if (strlen(host_venue)) {
|
||||||
out.printf(" <venue>%s</venue>\n", host_venue);
|
out.printf(" <venue>%s</venue>\n", host_venue);
|
||||||
}
|
}
|
||||||
|
char project_dir[MAXPATHLEN];
|
||||||
|
get_project_dir(this, project_dir, sizeof(project_dir));
|
||||||
|
out.printf(" <project_dir>%s</project_dir>\n", project_dir);
|
||||||
} else {
|
} else {
|
||||||
for (i=0; i<scheduler_urls.size(); i++) {
|
for (i=0; i<scheduler_urls.size(); i++) {
|
||||||
out.printf(
|
out.printf(
|
||||||
|
@ -487,9 +490,6 @@ int PROJECT::write_state(MIOFILE& out, bool gui_rpc) {
|
||||||
t->url.c_str()
|
t->url.c_str()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
char project_dir[MAXPATHLEN];
|
|
||||||
get_project_dir(this, project_dir, sizeof(project_dir));
|
|
||||||
out.printf(" <project_dir>%s</project_dir>\n", project_dir);
|
|
||||||
}
|
}
|
||||||
out.printf(
|
out.printf(
|
||||||
"</project>\n"
|
"</project>\n"
|
||||||
|
|
Loading…
Reference in New Issue