Fixed bug when compiling with no-default-features.
This commit is contained in:
parent
02f9968b0c
commit
e5e33e9069
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ impl NetConnection {
|
||||||
|
|
||||||
/// Panics because SSL support is not compiled in.
|
/// Panics because SSL support is not compiled in.
|
||||||
#[cfg(not(feature = "ssl"))]
|
#[cfg(not(feature = "ssl"))]
|
||||||
fn connect_ssl_internal(host: &str, port: u16) -> Result<NetStream> {
|
fn connect_ssl_internal(host: &str, port: u16) -> Result<NetBufStream> {
|
||||||
panic!(
|
panic!(
|
||||||
"Cannot connect to {}:{} over SSL without compiling with SSL support.",
|
"Cannot connect to {}:{} over SSL without compiling with SSL support.",
|
||||||
host,
|
host,
|
||||||
|
|
Loading…
Add table
Reference in a new issue