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:
@ -1167,7 +1167,7 @@ func (c *conn) xsequence(uid store.UID) msgseq {
|
||||
func (c *conn) sequenceRemove(seq msgseq, uid store.UID) {
|
||||
i := seq - 1
|
||||
if c.uids[i] != uid {
|
||||
xserverErrorf(fmt.Sprintf("got uid %d at msgseq %d, expected uid %d", uid, seq, c.uids[i]))
|
||||
xserverErrorf("got uid %d at msgseq %d, expected uid %d", uid, seq, c.uids[i])
|
||||
}
|
||||
copy(c.uids[i:], c.uids[i+1:])
|
||||
c.uids = c.uids[:len(c.uids)-1]
|
||||
|
Reference in New Issue
Block a user