mirror of
https://github.com/restic/restic.git
synced 2026-11-13 22:43:03 +00:00
replace "too small" with "too short" in error messages
This commit is contained in:
1 parent
53561474d9
commit
6328b7e1f5
5 files changed
+7
-7
No files matched your search
@@ -204,7 +204,7 @@ func (h *hashedArrayTree) Size() uint {
|
||||
func (h *hashedArrayTree) grow() {
|
||||
idx, subIdx := h.index(h.size)
|
||||
if int(idx) == len(h.blockList) {
|
||||
// blockList is too small -> double list and block size
|
||||
// blockList is too short -> double list and block size
|
||||
h.blockSize *= 2
|
||||
h.mask = h.mask*2 + 1
|
||||
h.maskShift++
|
||||
|
||||
Reference in new issue
Block a user