Skip to content

Commit e1aeba0

Browse files
authored
Update buf.go
1 parent b083f0c commit e1aeba0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

buf.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ func (b *writeBuf) int16(n int) {
6666
}
6767

6868
func (b *writeBuf) string(s string) {
69-
b.buf = append(append(b.buf, s...), "\000"...)
69+
b.buf = append(append(b.buf, s...), '\000')
7070
}
7171

7272
func (b *writeBuf) byte(c byte) {

0 commit comments

Comments
 (0)