mirror of
https://github.com/mjl-/mox.git
synced 2025-07-19 03:26:37 +03:00
queue: in log lines about delivery, we had both "attempts" starting at 0 and "attempt" starting at 1, keep only "attempts" starting at 1
from eric l, thanks!
This commit is contained in:
@ -1338,7 +1338,7 @@ func deliver(log mlog.Log, resolver dns.Resolver, m0 Msg) {
|
||||
|
||||
qlog := log.WithCid(mox.Cid()).With(
|
||||
slog.Any("from", m0.Sender()),
|
||||
slog.Int("attempts", m0.Attempts))
|
||||
slog.Int("attempts", m0.Attempts+1))
|
||||
|
||||
defer func() {
|
||||
deliveryResults <- formatIPDomain(m0.RecipientDomain)
|
||||
|
Reference in New Issue
Block a user