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