aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/lib/pq/buf.go
diff options
context:
space:
mode:
authorGravatar Frédéric Guillot <fred@miniflux.net> 2019-09-05 21:39:32 -0700
committerGravatar Frédéric Guillot <fred@miniflux.net> 2019-09-05 21:53:12 -0700
commitb94160df725a52af53f113bf27de7a7b8723174c (patch)
tree9e86b227d4683f26da9b393410df1bedc2e95074 /vendor/github.com/lib/pq/buf.go
parent456ebaf423ce2122bf8faa36da464c5d90361204 (diff)
downloadv2-b94160df725a52af53f113bf27de7a7b8723174c.tar.gz
v2-b94160df725a52af53f113bf27de7a7b8723174c.tar.zst
v2-b94160df725a52af53f113bf27de7a7b8723174c.zip
Update dependencies
Diffstat (limited to 'vendor/github.com/lib/pq/buf.go')
-rw-r--r--vendor/github.com/lib/pq/buf.go2
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 666b0012..4b0a0a8f 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) {