don't use non-constant for string formatting
Some checks failed
Build and test / build-test (oldstable) (push) Has been cancelled
Build and test / build-test (stable) (push) Has been cancelled

found by go1.24rc
This commit is contained in:
Mechiel Lukkien 2025-01-24 17:00:39 +01:00
parent 3e2695323c
commit 132efdd9fb
No known key found for this signature in database

View file

@ -1924,7 +1924,7 @@ func (c *conn) cmdRcpt(p *parser) {
if alias != nil {
c.recipients = append(c.recipients, recipient{fpath, nil, &rcptAlias{*alias, canonical}})
} else if dest.SMTPError != "" {
xsmtpServerErrorf(codes{dest.SMTPErrorCode, dest.SMTPErrorSecode}, dest.SMTPErrorMsg)
xsmtpServerErrorf(codes{dest.SMTPErrorCode, dest.SMTPErrorSecode}, "%s", dest.SMTPErrorMsg)
} else {
c.recipients = append(c.recipients, recipient{fpath, &rcptAccount{accountName, dest, canonical}, nil})
}