From 4e339236576b753bdc100effd0a60b90a4ccb2db Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Mon, 3 May 2010 19:21:39 +0000 Subject: [PATCH] - client: fix build break client/ net_stats.cpp svn path=/trunk/boinc/; revision=21370 --- checkin_notes | 6 ++++++ client/net_stats.cpp | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/checkin_notes b/checkin_notes index ab6a97b213..3cfd86ac89 100644 --- a/checkin_notes +++ b/checkin_notes @@ -3320,3 +3320,9 @@ David 3 May 2010 client/ sim.cpp net_stats.cpp + +Rom 3 May 2010 + - client: fix build break + + client/ + net_stats.cpp diff --git a/client/net_stats.cpp b/client/net_stats.cpp index faba9d3314..64d4793a33 100644 --- a/client/net_stats.cpp +++ b/client/net_stats.cpp @@ -378,7 +378,7 @@ void DAILY_XFER_HISTORY::write_state() { } void DAILY_XFER_HISTORY::totals(int ndays, double& up, double& down) { - int d = (current_day - ndays); + int d = (current_day() - ndays); up = down = 0; for (unsigned int i=0; i