From 705f824da55841e736aa299494138018f5703454 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Fri, 31 Jul 2009 23:52:47 +0000 Subject: [PATCH] compile fixes svn path=/trunk/boinc/; revision=18790 --- client/client_types.cpp | 4 ++-- clientgui/ViewTransfers.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client/client_types.cpp b/client/client_types.cpp index 229d226e43..d8dbbc68fa 100644 --- a/client/client_types.cpp +++ b/client/client_types.cpp @@ -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(" %f\n", - fxb->next_xfer_time - gstate.now + fxb.next_xfer_time - gstate.now ); } } diff --git a/clientgui/ViewTransfers.cpp b/clientgui/ViewTransfers.cpp index 197a71c118..c22dcd655d 100644 --- a/clientgui/ViewTransfers.cpp +++ b/clientgui/ViewTransfers.cpp @@ -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 + _(")"); } }