Fixed a typo

This commit is contained in:
Alexandre Cesaro 2015-07-14 23:25:44 +02:00
parent 69106c0cb2
commit 79f88c6aa1
1 changed files with 2 additions and 2 deletions

View File

@ -81,7 +81,7 @@ func (msg *Message) getRecipients() ([]string, error) {
if err != nil { if err != nil {
return nil, err return nil, err
} }
list = addAdress(list, addr) list = addAddress(list, addr)
} }
} }
} }
@ -89,7 +89,7 @@ func (msg *Message) getRecipients() ([]string, error) {
return list, nil return list, nil
} }
func addAdress(list []string, addr string) []string { func addAddress(list []string, addr string) []string {
for _, a := range list { for _, a := range list {
if addr == a { if addr == a {
return list return list