mirror of
https://github.com/mjl-/mox.git
synced 2025-06-28 05:08:14 +03:00
don't use non-constant for string formatting
found by go1.24rc
This commit is contained in:
parent
3e2695323c
commit
132efdd9fb
@ -1924,7 +1924,7 @@ func (c *conn) cmdRcpt(p *parser) {
|
|||||||
if alias != nil {
|
if alias != nil {
|
||||||
c.recipients = append(c.recipients, recipient{fpath, nil, &rcptAlias{*alias, canonical}})
|
c.recipients = append(c.recipients, recipient{fpath, nil, &rcptAlias{*alias, canonical}})
|
||||||
} else if dest.SMTPError != "" {
|
} else if dest.SMTPError != "" {
|
||||||
xsmtpServerErrorf(codes{dest.SMTPErrorCode, dest.SMTPErrorSecode}, dest.SMTPErrorMsg)
|
xsmtpServerErrorf(codes{dest.SMTPErrorCode, dest.SMTPErrorSecode}, "%s", dest.SMTPErrorMsg)
|
||||||
} else {
|
} else {
|
||||||
c.recipients = append(c.recipients, recipient{fpath, &rcptAccount{accountName, dest, canonical}, nil})
|
c.recipients = append(c.recipients, recipient{fpath, &rcptAccount{accountName, dest, canonical}, nil})
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user