diff options
Diffstat (limited to 'vendor/github.com/lib/pq/buf.go')
-rw-r--r-- | vendor/github.com/lib/pq/buf.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/lib/pq/buf.go b/vendor/github.com/lib/pq/buf.go index 666b0012a7..4b0a0a8f7e 100644 --- a/vendor/github.com/lib/pq/buf.go +++ b/vendor/github.com/lib/pq/buf.go @@ -66,7 +66,7 @@ func (b *writeBuf) int16(n int) { } func (b *writeBuf) string(s string) { - b.buf = append(b.buf, (s + "\000")...) + b.buf = append(append(b.buf, s...), '\000') } func (b *writeBuf) byte(c byte) { |