From 2a949f9f79c95f987412f44ac42075688dcb0d67 Mon Sep 17 00:00:00 2001 From: Mechiel Lukkien Date: Sun, 14 Apr 2024 12:42:47 +0200 Subject: [PATCH] fix typo in smtp error code --- apidiff/next.txt | 1 + smtp/codes.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/apidiff/next.txt b/apidiff/next.txt index b3d22e9..43f41e3 100644 --- a/apidiff/next.txt +++ b/apidiff/next.txt @@ -27,6 +27,7 @@ Below are the incompatible changes between v0.0.10 and next, per package. # scram # smtp +- SeMsg6ConversoinUnsupported3: removed # smtpclient - GatherIPs: changed from func(context.Context, *log/slog.Logger, github.com/mjl-/mox/dns.Resolver, github.com/mjl-/mox/dns.IPDomain, map[string][]net.IP) (bool, bool, github.com/mjl-/mox/dns.Domain, []net.IP, bool, error) to func(context.Context, *log/slog.Logger, github.com/mjl-/mox/dns.Resolver, string, github.com/mjl-/mox/dns.IPDomain, map[string][]net.IP) (bool, bool, github.com/mjl-/mox/dns.Domain, []net.IP, bool, error) diff --git a/smtp/codes.go b/smtp/codes.go index 65fcc8b..a244f36 100644 --- a/smtp/codes.go +++ b/smtp/codes.go @@ -108,7 +108,7 @@ var ( SeMsg6Other0 = "6.0" SeMsg6MediaUnsupported1 = "6.1" SeMsg6ConversionProhibited2 = "6.2" - SeMsg6ConversoinUnsupported3 = "6.3" + SeMsg6ConversionUnsupported3 = "6.3" SeMsg6ConversionWithLoss4 = "6.4" SeMsg6ConversionFailed5 = "6.5" SeMsg6NonASCIIAddrNotPermitted7 = "6.7" // ../rfc/6531:735