fix misspell (#1996)

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2017-06-17 19:30:04 -05:00 committed by Lunny Xiao
parent 90f9bb12c6
commit b7812be33a
2 changed files with 2 additions and 2 deletions

View file

@ -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