diff --git a/checkin_notes b/checkin_notes index f9e51e323e..8a8c30ef6f 100644 --- a/checkin_notes +++ b/checkin_notes @@ -3414,7 +3414,13 @@ David 7 May 2010 credit.php (new) Rom 7 May 2010 - - DIAG: Make init functions consistant with one another. + - DIAG: Make init functions consistent with one another. lib/ diagnostics.cpp + +David 8 May 2010 + - client: fix time-zone offset in net BW quota + + client/ + net_stats.cpp diff --git a/client/net_stats.cpp b/client/net_stats.cpp index 64d4793a33..385521dc42 100644 --- a/client/net_stats.cpp +++ b/client/net_stats.cpp @@ -292,7 +292,7 @@ void DAILY_XFER::write(FILE* f) { } inline int current_day() { - return (int)((gstate.now-gstate.host_info.timezone)/86400); + return (int)((gstate.now + gstate.host_info.timezone)/86400); } DAILY_XFER* DAILY_XFER_HISTORY::today() {