From b05994e65c9e9cfbb2c06f8ad99c649c7f20fe2b Mon Sep 17 00:00:00 2001 From: Aaron Weiss Date: Mon, 1 Dec 2014 18:34:39 -0500 Subject: [PATCH] Fixed typo in SSL implementation that went unnoticed. --- Cargo.toml | 2 +- src/conn.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 0c39a84..2b57587 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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 "] license = "Unlicense" diff --git a/src/conn.rs b/src/conn.rs index 04f5ecb..6337fe4 100644 --- a/src/conn.rs +++ b/src/conn.rs @@ -81,7 +81,7 @@ impl Connection, BufferedWriter> { 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)), )) } }