Fixed a typo in an error message, WANT_WRITE -> WANT_READ

This commit is contained in:
Brian Vincent 2017-10-17 20:06:35 -05:00
parent 09f2a3e9db
commit d5299a8d2b
1 changed files with 1 additions and 1 deletions

View File

@ -1805,7 +1805,7 @@ impl<S> SslStream<S> {
None => { None => {
io::Error::new( io::Error::new(
io::ErrorKind::Other, io::ErrorKind::Other,
"BUG: got an SSL_ERROR_WANT_WRITE with no error in the BIO", "BUG: got an SSL_ERROR_WANT_READ with no error in the BIO",
) )
} }
}; };