all: fix problematic comments

Change-Id: If092ae7c72b66f172ae32fa6c7294a7ac250362e
Reviewed-on: https://go-review.googlesource.com/c/go/+/463995
Reviewed-by: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
Run-TryBot: Than McIntosh <thanm@google.com>
This commit is contained in:
yuhan6665
2023-11-12 12:08:30 -05:00
parent b9bfba03b7
commit dad79ae803
+1 -1
View File
@@ -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: