From 563ccbab4a9ac13d37b64128ebe4c5ec2b6ae7ab Mon Sep 17 00:00:00 2001 From: Winni Neessen Date: Wed, 23 Oct 2024 22:26:08 +0200 Subject: [PATCH] Fix typo in comment within Quit function Corrected grammar in a comment to enhance code readability and maintain consistency. This change does not affect the functionality of the `Quit` method. --- smtp/smtp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smtp/smtp.go b/smtp/smtp.go index 208677f..63504fe 100644 --- a/smtp/smtp.go +++ b/smtp/smtp.go @@ -554,7 +554,7 @@ func (c *Client) Noop() error { // Quit sends the QUIT command and closes the connection to the server. func (c *Client) Quit() error { - // If we did already tried to send a EHLO/HELO but it failed, we still need to be able to send + // If we already tried to send a EHLO/HELO but it failed, we still need to be able to send // a QUIT to close the connection. // c.hello() will return the global helloErr of the Client, which will always be set if the HELO // failed before. Therefore if we already sent a HELO and the error is not nil, we skip another