From: Emil Hessman Date: Sat, 17 Aug 2013 22:11:34 +0000 (+1000) Subject: net/textproto: use ReadDotBytes instead of non-existent ReadDotAll. X-Git-Tag: go1.2rc2~508 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=df7b93c1757cd15c861657190c8cdf4932f64c97;p=gostls13.git net/textproto: use ReadDotBytes instead of non-existent ReadDotAll. Fixes #5893. R=golang-dev, r CC=golang-dev https://golang.org/cl/13086043 --- diff --git a/src/pkg/net/textproto/textproto.go b/src/pkg/net/textproto/textproto.go index eb6ced1c52..026eb026b1 100644 --- a/src/pkg/net/textproto/textproto.go +++ b/src/pkg/net/textproto/textproto.go @@ -105,7 +105,7 @@ func Dial(network, addr string) (*Conn, error) { // if _, _, err = c.ReadCodeLine(110); err != nil { // return nil, err // } -// text, err := c.ReadDotAll() +// text, err := c.ReadDotBytes() // if err != nil { // return nil, err // }