]> Cypherpunks repositories - gostls13.git/commitdiff
net/textproto: use ReadDotBytes instead of non-existent ReadDotAll.
authorEmil Hessman <c.emil.hessman@gmail.com>
Sat, 17 Aug 2013 22:11:34 +0000 (08:11 +1000)
committerRob Pike <r@golang.org>
Sat, 17 Aug 2013 22:11:34 +0000 (08:11 +1000)
Fixes #5893.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/13086043

src/pkg/net/textproto/textproto.go

index eb6ced1c52ef53658a2bea26ead08bfcf29b4372..026eb026b1d8c690d0c89d5b923f42e536149615 100644 (file)
@@ -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
 //     }