diff --git a/conn.go b/conn.go index e94ff5a..bd8471d 100644 --- a/conn.go +++ b/conn.go @@ -85,7 +85,7 @@ func (c *Conn) EntryErr(pri Priority, msg string, attrs []Attr) error { }) a = append(a, c.Common...) a = append(a, attrs...) - err := c.WriteAttrs(attrs) + err := c.WriteAttrs(a) slices.Delete(a, 0, len(a)) // ensure GC doesn't see refs to old data c.atts.Put(a) return err