From dad79ae803adcd39724cb483172b5c4d0916c76b Mon Sep 17 00:00:00 2001 From: yuhan6665 <1588741+yuhan6665@users.noreply.github.com> Date: Mon, 9 Oct 2023 19:57:30 -0400 Subject: [PATCH] all: fix problematic comments Change-Id: If092ae7c72b66f172ae32fa6c7294a7ac250362e Reviewed-on: https://go-review.googlesource.com/c/go/+/463995 Reviewed-by: Cherry Mui TryBot-Result: Gopher Robot Reviewed-by: Than McIntosh Run-TryBot: Than McIntosh --- conn.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conn.go b/conn.go index c5a5fbf..a90a540 100644 --- a/conn.go +++ b/conn.go @@ -846,7 +846,7 @@ func (c *Conn) readFromUntil(r io.Reader, n int) error { return err } -// sendAlert sends a TLS alert message. +// sendAlertLocked sends a TLS alert message. func (c *Conn) sendAlertLocked(err alert) error { switch err { case alertNoRenegotiation, alertCloseNotify: