git » spf » commit 83e6591

Fix minor misspells in comments

author Alberto Bertogli
2019-10-18 19:40:24 UTC
committer Alberto Bertogli
2019-10-18 19:40:24 UTC
parent d6ae505681e15f1c9aa79747e8d4a83e1ceefdcb

Fix minor misspells in comments

spf.go +1 -1
yml_test.go +1 -1

diff --git a/spf.go b/spf.go
index cca0239..139b864 100644
--- a/spf.go
+++ b/spf.go
@@ -622,7 +622,7 @@ func (r *resolution) mxField(res Result, field, domain string) (bool, Result, er
 	return false, "", nil
 }
 
-// redirectField proces a "redirect=" field.
+// redirectField processes a "redirect=" field.
 func (r *resolution) redirectField(field, domain string) (Result, error) {
 	rDomain := field[len("redirect="):]
 	rDomain, err := r.expandMacros(rDomain, domain)
diff --git a/yml_test.go b/yml_test.go
index b2094f5..ac80ce1 100644
--- a/yml_test.go
+++ b/yml_test.go
@@ -204,7 +204,7 @@ func testRFC(t *testing.T, fname string) {
 			// To try to minimize changes to the suite, we work around this by
 			// only adding records from SPF if there is no TXT already.
 			// We need to do this in a separate step because order of
-			// appeareance is not guaranteed.
+			// appearance is not guaranteed.
 			if len(dns.txt[domain]) == 0 {
 				for _, record := range records {
 					if len(record.SPF) > 0 {