credit bug fix

svn path=/trunk/boinc/; revision=953
This commit is contained in:
Eric Heien 2003-02-20 23:18:31 +00:00
parent d87445eb8e
commit b91eb4522c
1 changed files with 4 additions and 4 deletions

View File

@ -700,9 +700,11 @@ int RESULT::write(FILE* out, bool to_server) {
fprintf(out,
"<result>\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,
final_cpu_time
final_cpu_time,
state
);
n = strlen(stderr_out);
if (n) {
@ -718,10 +720,8 @@ int RESULT::write(FILE* out, bool to_server) {
}
if (!to_server) {
fprintf(out,
" <state>%d</state>\n"
" <wu_name>%s</wu_name>\n"
" <report_deadline>%d</report_deadline>\n",
state,
wu_name,
report_deadline
);