mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00: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 a new issue