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]
|
||||
|
||||
name = "irc"
|
||||
version = "0.4.0"
|
||||
version = "0.4.1"
|
||||
description = "A simple, thread-safe IRC client library."
|
||||
authors = ["Aaron Weiss <aaronweiss74@gmail.com>"]
|
||||
license = "Unlicense"
|
||||
|
|
|
@ -81,7 +81,7 @@ impl Connection<BufferedReader<NetStream>, BufferedWriter<NetStream>> {
|
|||
let ssl_socket = try!(ssl_to_io(SslStream::new(&ssl, socket)));
|
||||
Ok(Connection::new(
|
||||
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