1
0
mirror of https://github.com/golang/go synced 2024-11-21 23:04:39 -07:00

net/textproto: use ReadDotBytes instead of non-existent ReadDotAll.

Fixes #5893.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/13086043
This commit is contained in:
Emil Hessman 2013-08-18 08:11:34 +10:00 committed by Rob Pike
parent 20eb4cba37
commit df7b93c175

View 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
// }