internal/stream: fix readChunk documentation (#163)

r.c was renamed to r.src.
This commit is contained in:
Matthias Schneider
2021-01-03 15:26:48 +01:00
committed by GitHub
parent 4147b86ac8
commit a02075a0cc

View File

@@ -74,7 +74,7 @@ func (r *Reader) Read(p []byte) (int, error) {
return n, nil
}
// readChunk reads the next chunk of ciphertext from r.c and makes it available
// readChunk reads the next chunk of ciphertext from r.src and makes it available
// in r.unread. last is true if the chunk was marked as the end of the message.
// readChunk must not be called again after returning a last chunk or an error.
func (r *Reader) readChunk() (last bool, err error) {