diff options
author | Emil Hessman <c.emil.hessman@gmail.com> | 2013-08-18 08:11:34 +1000 |
---|---|---|
committer | Emil Hessman <c.emil.hessman@gmail.com> | 2013-08-18 08:11:34 +1000 |
commit | ea0cba44b17e1b45e8b0c6675be549721f3e2b33 (patch) | |
tree | bf3268a4a138a2d7467ed62b7eb0cbc73f274afc | |
parent | 683dce85d271f5961f60e00af68d01c03f5cf592 (diff) | |
download | go-ea0cba44b17e1b45e8b0c6675be549721f3e2b33.tar.gz |
net/textproto: use ReadDotBytes instead of non-existent ReadDotAll.
Fixes issue 5893.
R=golang-dev, r
CC=golang-dev
https://codereview.appspot.com/13086043
Committer: Rob Pike <r@golang.org>
-rw-r--r-- | src/pkg/net/textproto/textproto.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/net/textproto/textproto.go b/src/pkg/net/textproto/textproto.go index eb6ced1c5..026eb026b 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 // } |