2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

Add changes for [GL #1989]

This commit is contained in:
Mark Andrews
2020-07-02 13:35:27 +10:00
parent 6ca78bc57d
commit 42b2290c3a
2 changed files with 6 additions and 1 deletions

View File

@@ -1180,7 +1180,8 @@ remove_old_tsversions(isc_logfile_t *file, int versions) {
memmove(&to_keep[i + 1],
&to_keep[i],
sizeof(to_keep[0]) *
(versions - i - 1));
(versions - i -
1));
to_keep[i] = version;
}
}