From: Norman B. Lancaster Date: Wed, 10 Jul 2019 22:31:00 +0000 (-0500) Subject: net/textproto: correct documentation of empty line handling X-Git-Tag: go1.15rc1~15 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=504db532971b703d52f0bd4ced3e36a403b49da4;p=gostls13.git net/textproto: correct documentation of empty line handling Fixes #32493 Change-Id: I9c93791c4cc5c0c14556802733066407de3181ca Reviewed-on: https://go-review.googlesource.com/c/go/+/185542 TryBot-Result: Gobot Gobot Reviewed-by: Ian Lance Taylor --- diff --git a/src/net/textproto/reader.go b/src/net/textproto/reader.go index d26e981ae4..a00fd2395f 100644 --- a/src/net/textproto/reader.go +++ b/src/net/textproto/reader.go @@ -88,7 +88,7 @@ func (r *Reader) readLineSlice() ([]byte, error) { // The first call to ReadContinuedLine will return "Line 1 continued..." // and the second will return "Line 2". // -// A line consisting of only white space is never continued. +// Empty lines are never continued. // func (r *Reader) ReadContinuedLine() (string, error) { line, err := r.readContinuedLineSlice(noValidation)