mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-11-24 19:19:11 +08:00
fix write error
This commit is contained in:
parent
1943647860
commit
315879ce47
@ -30,7 +30,7 @@ func (n *Needle) Append(w io.Writer, version Version) uint32 {
|
||||
if n.NameSize > 0 {
|
||||
n.Size = n.Size + 1 + uint32(n.NameSize)
|
||||
}
|
||||
if n.NameSize > 0 {
|
||||
if n.MimeSize > 0 {
|
||||
n.Size = n.Size + 1 + uint32(n.MimeSize)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user