mirror of
https://github.com/mjl-/mox.git
synced 2025-07-10 07:14:40 +03:00
only use constant strings in string formatting
builds with go1.24rc1 fail on these. only the case in smtpserver could be triggered externally.
This commit is contained in:
@ -3471,7 +3471,7 @@ func (c *conn) deliver(ctx context.Context, recvHdrFor func(string) string, msgW
|
||||
code = smtp.C554TransactionFailed
|
||||
}
|
||||
lines = append(lines, "multiple errors")
|
||||
xsmtpErrorf(code, secode, !serverError, strings.Join(lines, "\n"))
|
||||
xsmtpErrorf(code, secode, !serverError, "%s", strings.Join(lines, "\n"))
|
||||
}
|
||||
// Generate one DSN for all failed recipients.
|
||||
if len(deliverErrors) > 0 {
|
||||
|
Reference in New Issue
Block a user