crypto/tls: fix typo in comment

Signed-off-by: guoguangwu <guoguangwu@magic-shield.com>
This commit is contained in:
guoguangwu 2024-02-21 15:09:09 +08:00
parent d4112310a4
commit 7ce7d014c0
1 changed files with 1 additions and 1 deletions

View File

@ -211,7 +211,7 @@ func TestDialTimeout(t *testing.T) {
t.Logf("Listener accepted a connection from %s", lconn.RemoteAddr())
lconn.Close()
}
// Close any spurious extra connecitions from the listener. (This is
// Close any spurious extra connections from the listener. (This is
// possible if there are, for example, stray Dial calls from other tests.)
for extraConn := range acceptc {
t.Logf("spurious extra connection from %s", extraConn.RemoteAddr())