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:
2
smtp.go
2
smtp.go
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user