diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2017-11-30 21:22:08 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2017-11-30 21:22:08 -0500 |
commit | 2bcfdda7c623f16b71e92d5a6458c669e6ca8ce3 (patch) | |
tree | f1eaeda5c485f037e21ea68b7397a2d005493304 /textproto | |
parent | e63e838d85eed5147aefcbca81ce18a16cd8fd4b (diff) |
textproto: don't trim the trailing LF on cat-blob results
Diffstat (limited to 'textproto')
-rw-r--r-- | textproto/catblob.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/textproto/catblob.go b/textproto/catblob.go index 9b0f8d7..678b842 100644 --- a/textproto/catblob.go +++ b/textproto/catblob.go @@ -48,7 +48,7 @@ func (cbr *CatBlobReader) ReadLine() (line string, err error) { } data := make([]byte, size+1) _, err = io.ReadFull(cbr.r, data) - line += string(data[:size]) + line += string(data) return } |