Fixed typo in SSL implementation that went unnoticed.
This commit is contained in:
parent
0588de82e0
commit
b05994e65c
2 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
[package]
|
[package]
|
||||||
|
|
||||||
name = "irc"
|
name = "irc"
|
||||||
version = "0.4.0"
|
version = "0.4.1"
|
||||||
description = "A simple, thread-safe IRC client library."
|
description = "A simple, thread-safe IRC client library."
|
||||||
authors = ["Aaron Weiss <aaronweiss74@gmail.com>"]
|
authors = ["Aaron Weiss <aaronweiss74@gmail.com>"]
|
||||||
license = "Unlicense"
|
license = "Unlicense"
|
||||||
|
|
|
@ -81,7 +81,7 @@ impl Connection<BufferedReader<NetStream>, BufferedWriter<NetStream>> {
|
||||||
let ssl_socket = try!(ssl_to_io(SslStream::new(&ssl, socket)));
|
let ssl_socket = try!(ssl_to_io(SslStream::new(&ssl, socket)));
|
||||||
Ok(Connection::new(
|
Ok(Connection::new(
|
||||||
BufferedReader::new(NetStream::SslTcpStream(ssl_socket.clone())),
|
BufferedReader::new(NetStream::SslTcpStream(ssl_socket.clone())),
|
||||||
BufferedWriter::new(NetStream::SslTcpSteram(ssl_socket)),
|
BufferedWriter::new(NetStream::SslTcpStream(ssl_socket)),
|
||||||
))
|
))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue