mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-26 23:28:08 +03:00
Merge: - stats: fix crash on load
Close #999 * commit '8b7d08ebfc1b389c301300f6bad7368e85617921': - stats: fix crash on load
This commit is contained in:
commit
9a28526fa3
1 changed files with 1 additions and 1 deletions
|
@ -296,7 +296,7 @@ func deserialize(u *unit, udb *unitDB) {
|
|||
if n < len(u.nResult) {
|
||||
n = len(u.nResult) // n = min(len(udb.NResult), len(u.nResult))
|
||||
}
|
||||
for i := 1; i <= n; i++ {
|
||||
for i := 1; i < n; i++ {
|
||||
u.nResult[i] = udb.NResult[i]
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue