summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--textproto/catblob.go2
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
}