Commit 22a5d2cc authored by Rui Ueyama's avatar Rui Ueyama Committed by Ian Lance Taylor

mime/multipart: fix format

Remove unnecessary blank line.

LGTM=iant
R=golang-codereviews, iant
CC=golang-codereviews
https://golang.org/cl/105040045
parent aa04caa7
...@@ -90,8 +90,7 @@ func (p *Part) parseContentDisposition() { ...@@ -90,8 +90,7 @@ func (p *Part) parseContentDisposition() {
func NewReader(r io.Reader, boundary string) *Reader { func NewReader(r io.Reader, boundary string) *Reader {
b := []byte("\r\n--" + boundary + "--") b := []byte("\r\n--" + boundary + "--")
return &Reader{ return &Reader{
bufReader: bufio.NewReader(r), bufReader: bufio.NewReader(r),
nl: b[:2], nl: b[:2],
nlDashBoundary: b[:len(b)-2], nlDashBoundary: b[:len(b)-2],
dashBoundaryDash: b[2:], dashBoundaryDash: b[2:],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment