From a02075a0cce559f8977145b9c8780baa660407bc Mon Sep 17 00:00:00 2001 From: Matthias Schneider Date: Sun, 3 Jan 2021 15:26:48 +0100 Subject: [PATCH] internal/stream: fix readChunk documentation (#163) r.c was renamed to r.src. --- internal/stream/stream.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/stream/stream.go b/internal/stream/stream.go index 0f855ea..bf0be5e 100644 --- a/internal/stream/stream.go +++ b/internal/stream/stream.go @@ -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) {