Yet more AsRawSocket fixes

This commit is contained in:
Steven Fackler 2015-12-12 18:01:21 -08:00
parent ddedda1d03
commit b8c8b770e3
1 changed files with 1 additions and 1 deletions

View File

@ -950,7 +950,7 @@ impl<S: AsRawFd> AsRawFd for SslStream<S> {
#[cfg(windows)]
impl<S: AsRawSocket> AsRawSocket for SslStream<S> {
fn as_raw_socket(&self) -> RawSocket {
self.0.as_raw_socket()
self.get_ref().as_raw_socket()
}
}