compile fixes

svn path=/trunk/boinc/; revision=18790
This commit is contained in:
David Anderson 2009-07-31 23:52:47 +00:00
parent f3cd007656
commit 705f824da5
2 changed files with 3 additions and 3 deletions

View File

@ -914,9 +914,9 @@ int FILE_INFO::write_gui(MIOFILE& out) {
pers_file_xfer->write(out);
FILE_XFER_BACKOFF& fxb = project->file_xfer_backoff(pers_file_xfer->is_upload);
if (fxb->next_xfer_time > gstate.now) {
if (fxb.next_xfer_time > gstate.now) {
out.printf(" <project_backoff>%f</project_backoff>\n",
fxb->next_xfer_time - gstate.now
fxb.next_xfer_time - gstate.now
);
}
}

View File

@ -765,7 +765,7 @@ void CViewTransfers::GetDocStatus(wxInt32 item, wxString& strBuffer) const {
}
if (transfer->project_backoff) {
wxString x;
FormatTime(project->upload_backoff, transfer->project_backoff);
FormatTime(transfer->project_backoff, x);
strBuffer += _(" (project backoff: ") + x + _(")");
}
}