2
0
forked from drew/smtprelay

smtp: gofmt -w -r 'interface{}->any' src

Merge from net/smtp/smtp.go

Obtained from:	2580d0e08d5e9f979b943758d3c49877fb2324cb
This commit is contained in:
Bernhard Froehlich
2022-04-25 14:58:09 +00:00
parent a2826e949e
commit 62bb2becbc

View File

@@ -106,7 +106,7 @@ func (c *Client) Hello(localName string) error {
} }
// cmd is a convenience function that sends a command and returns the response // cmd is a convenience function that sends a command and returns the response
func (c *Client) cmd(expectCode int, format string, args ...interface{}) (int, string, error) { func (c *Client) cmd(expectCode int, format string, args ...any) (int, string, error) {
id, err := c.Text.Cmd(format, args...) id, err := c.Text.Cmd(format, args...)
if err != nil { if err != nil {
return 0, "", err return 0, "", err