]> Cypherpunks repositories - gostls13.git/commitdiff
net/textproto: correct documentation of empty line handling
authorNorman B. Lancaster <qbradq@gmail.com>
Wed, 10 Jul 2019 22:31:00 +0000 (17:31 -0500)
committerIan Lance Taylor <iant@golang.org>
Thu, 9 Jul 2020 20:09:55 +0000 (20:09 +0000)
Fixes #32493

Change-Id: I9c93791c4cc5c0c14556802733066407de3181ca
Reviewed-on: https://go-review.googlesource.com/c/go/+/185542
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/net/textproto/reader.go

index d26e981ae420fbf8963e6ad5a4d67bbcd6931872..a00fd2395fbecc9f127b7f4d501e096f3a4af8ae 100644 (file)
@@ -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)