Commit c315e053 authored by Steven Fackler's avatar Steven Fackler
Browse files

Merge pull request #191 from fhartwig/rustup

Fix error with current rust nightly
parents 2453c0f9 7c079698
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -733,7 +733,7 @@ impl<S: Read+Write> SslStream<S> {
            match e {
                LibSslError::ErrorWantRead => {
                    try_ssl_stream!(self.flush());
                    let len = try_ssl_stream!(self.stream.read(self.buf.as_mut_slice()));
                    let len = try_ssl_stream!(self.stream.read(&mut self.buf[..]));
                    if len == 0 {
                        return Ok(0);
                    }