]> Cypherpunks repositories - gostls13.git/commitdiff
crypto/tls: fix quic comment typo
authorguoguangwu <guoguangwug@gmail.com>
Thu, 21 Aug 2025 01:40:55 +0000 (01:40 +0000)
committerGopher Robot <gobot@golang.org>
Fri, 22 Aug 2025 21:57:58 +0000 (14:57 -0700)
Change-Id: Ibd6b8d10ecac3cdea33de1218d516b7425443313
GitHub-Last-Rev: 3d5568ba087be71f21cf816c5edd9b8b8c629865
GitHub-Pull-Request: golang/go#75092
Reviewed-on: https://go-review.googlesource.com/c/go/+/697575
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Reviewed-by: Daniel McCarney <daniel@binaryparadox.net>
Reviewed-by: David Chase <drchase@google.com>
Reviewed-by: Sean Liao <sean@liao.dev>
Auto-Submit: Sean Liao <sean@liao.dev>

src/crypto/tls/quic.go

index ed70100d11f0e7a87572378d8254b06efd1a7a32..3be479eb12f0856df31a29c5e274b055bcd9595c 100644 (file)
@@ -221,7 +221,7 @@ func (q *QUICConn) NextEvent() QUICEvent {
        qs := q.conn.quic
        if last := qs.nextEvent - 1; last >= 0 && len(qs.events[last].Data) > 0 {
                // Write over some of the previous event's data,
-               // to catch callers erroniously retaining it.
+               // to catch callers erroneously retaining it.
                qs.events[last].Data[0] = 0
        }
        if qs.nextEvent >= len(qs.events) && qs.waitingForDrain {