Fix writing string to prelude tail

This commit is contained in:
Ingo Oppermann
2024-07-26 11:47:40 +02:00
parent 70a49f8bdb
commit b9baa17b0c

View File

@@ -307,7 +307,7 @@ func (p *parser) Parse(line []byte) uint64 {
if len(p.prelude.data) < p.prelude.headLines {
p.prelude.data = append(p.prelude.data, stringLine)
} else {
p.prelude.tail.Value = line
p.prelude.tail.Value = stringLine
p.prelude.tail = p.prelude.tail.Next()
p.prelude.truncatedLines++
}