mirror of
https://github.com/wneessen/go-mail.git
synced 2024-12-22 18:50:37 +01:00
Fix typo in error message in normalizeString function
Corrected the spelling of "failed" in the error handling branch of the normalizeString function within smtp/auth_scram.go. This change addresses a minor typographical error to ensure the error message is clear and accurate.
This commit is contained in:
parent
d4c6cb506c
commit
d6f256c29e
1 changed files with 1 additions and 1 deletions
|
@ -308,7 +308,7 @@ func (a *scramAuth) normalizeUsername() (string, error) {
|
|||
func (a *scramAuth) normalizeString(s string) (string, error) {
|
||||
s, err := precis.OpaqueString.String(s)
|
||||
if err != nil {
|
||||
return "", fmt.Errorf("failled to normalize string: %w", err)
|
||||
return "", fmt.Errorf("failed to normalize string: %w", err)
|
||||
}
|
||||
if s == "" {
|
||||
return "", errors.New("normalized string is empty")
|
||||
|
|
Loading…
Reference in a new issue