mirror of https://github.com/BOINC/boinc.git
- client: fix build break
client/ net_stats.cpp svn path=/trunk/boinc/; revision=21370
This commit is contained in:
parent
db434a24cd
commit
4e33923657
|
@ -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
|
||||
|
|
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue