This commit is contained in:
Steven Fackler 2015-12-18 22:34:30 -08:00
parent a31acdbb93
commit 11129aa521
2 changed files with 2 additions and 2 deletions

View File

@ -101,7 +101,7 @@ unsafe extern "C" fn bread<S: Read>(bio: *mut BIO, buf: *mut c_char, len: c_int)
fn retriable_error(err: &io::Error) -> bool {
match err.kind() {
io::ErrorKind::WouldBlock | io::ErrorKind::NotConnected => true,
_ => false
_ => false,
}
}

View File

@ -1240,7 +1240,7 @@ impl SslStream<::std::net::TcpStream> {
Ok(SslStream {
ssl: self.ssl.clone(),
_method: self._method.clone(),
_p: PhantomData
_p: PhantomData,
})
}
}