- client: fix build break

client/
        net_stats.cpp

svn path=/trunk/boinc/; revision=21370
This commit is contained in:
Rom Walton 2010-05-03 19:21:39 +00:00
parent db434a24cd
commit 4e33923657
2 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -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<daily_xfers.size(); i++) {
DAILY_XFER& dx = daily_xfers[i];