summaryrefslogtreecommitdiffstats
path: root/modules/mailer
diff options
context:
space:
mode:
authorBo-Yi Wu <appleboy.tw@gmail.com>2017-06-17 19:30:04 -0500
committerLunny Xiao <xiaolunwen@gmail.com>2017-06-18 08:30:04 +0800
commitb7812be33ae801e726350d3c852b75b29b1ab0e7 (patch)
tree1702a8e0b20255b5d3a2f47a9072eab781d6f26b /modules/mailer
parent90f9bb12c628a167d30f6f8b4bfb80438fb675a7 (diff)
downloadgitea-b7812be33ae801e726350d3c852b75b29b1ab0e7.tar.gz
gitea-b7812be33ae801e726350d3c852b75b29b1ab0e7.zip
fix misspell (#1996)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Diffstat (limited to 'modules/mailer')
-rw-r--r--modules/mailer/mailer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mailer/mailer.go b/modules/mailer/mailer.go
index d154cb9c2d..1f173e6b90 100644
--- a/modules/mailer/mailer.go
+++ b/modules/mailer/mailer.go
@@ -83,7 +83,7 @@ func (a *loginAuth) Next(fromServer []byte, more bool) ([]byte, error) {
case "Password:":
return []byte(a.password), nil
default:
- return nil, fmt.Errorf("unknwon fromServer: %s", string(fromServer))
+ return nil, fmt.Errorf("unknown fromServer: %s", string(fromServer))
}
}
return nil, nil