From fd115d5173d7811397ef32a1aac158a44b00c3fb Mon Sep 17 00:00:00 2001 From: Winni Neessen Date: Mon, 23 Sep 2024 14:15:43 +0200 Subject: [PATCH] Remove typo from comment in smtp_ehlo_117.go Fixed a typo in the backward compatibility comment for Go 1.16/1.17 in smtp_ehlo_117.go. This ensures clarity and correctness in documentation. --- smtp/smtp_ehlo_117.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smtp/smtp_ehlo_117.go b/smtp/smtp_ehlo_117.go index 429f30a..c516a36 100644 --- a/smtp/smtp_ehlo_117.go +++ b/smtp/smtp_ehlo_117.go @@ -22,7 +22,7 @@ import "strings" // should be the preferred greeting for servers that support it. // // Backport of: https://github.com/golang/go/commit/4d8db00641cc9ff4f44de7df9b8c4f4a4f9416ee#diff-4f6f6bdb9891d4dd271f9f31430420a2e44018fe4ee539576faf458bebb3cee4 -// to guarantee backwards compatibility with Go 1.16/1.17:w +// to guarantee backwards compatibility with Go 1.16/1.17 func (c *Client) ehlo() error { _, msg, err := c.cmd(250, "EHLO %s", c.localName) if err != nil {