mirror of https://github.com/golang/go.git
mime/multipart: fix format
Remove unnecessary blank line. LGTM=iant R=golang-codereviews, iant CC=golang-codereviews https://golang.org/cl/105040045
This commit is contained in:
parent
aa04caa759
commit
22a5d2cc96
|
|
@ -90,8 +90,7 @@ func (p *Part) parseContentDisposition() {
|
|||
func NewReader(r io.Reader, boundary string) *Reader {
|
||||
b := []byte("\r\n--" + boundary + "--")
|
||||
return &Reader{
|
||||
bufReader: bufio.NewReader(r),
|
||||
|
||||
bufReader: bufio.NewReader(r),
|
||||
nl: b[:2],
|
||||
nlDashBoundary: b[:len(b)-2],
|
||||
dashBoundaryDash: b[2:],
|
||||
|
|
|
|||
Loading…
Reference in New Issue