mirror of https://github.com/BOINC/boinc.git
parent
d87445eb8e
commit
b91eb4522c
|
@ -700,9 +700,11 @@ int RESULT::write(FILE* out, bool to_server) {
|
||||||
fprintf(out,
|
fprintf(out,
|
||||||
"<result>\n"
|
"<result>\n"
|
||||||
" <name>%s</name>\n"
|
" <name>%s</name>\n"
|
||||||
" <final_cpu_time>%f</final_cpu_time>\n",
|
" <final_cpu_time>%f</final_cpu_time>\n"
|
||||||
|
" <state>%d</state>\n",
|
||||||
name,
|
name,
|
||||||
final_cpu_time
|
final_cpu_time,
|
||||||
|
state
|
||||||
);
|
);
|
||||||
n = strlen(stderr_out);
|
n = strlen(stderr_out);
|
||||||
if (n) {
|
if (n) {
|
||||||
|
@ -718,10 +720,8 @@ int RESULT::write(FILE* out, bool to_server) {
|
||||||
}
|
}
|
||||||
if (!to_server) {
|
if (!to_server) {
|
||||||
fprintf(out,
|
fprintf(out,
|
||||||
" <state>%d</state>\n"
|
|
||||||
" <wu_name>%s</wu_name>\n"
|
" <wu_name>%s</wu_name>\n"
|
||||||
" <report_deadline>%d</report_deadline>\n",
|
" <report_deadline>%d</report_deadline>\n",
|
||||||
state,
|
|
||||||
wu_name,
|
wu_name,
|
||||||
report_deadline
|
report_deadline
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue