Skip to content

Commit c87b938

Browse files
committed
Fix features
1 parent f79e98e commit c87b938

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/priv_io.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ pub fn initialize_stream(params: &ConnectParams,
175175
let host = match params.target {
176176
ConnectTarget::Tcp(ref host) => host,
177177
#[cfg(feature = "unix_socket")]
178-
ConnectTarget::Unix(_) => return Err(ConnectError::IoError(::bad_response())),
178+
ConnectTarget::Unix(_) => return Err(ConnectError::Io(::bad_response())),
179179
};
180180

181181
match negotiator.negotiate_ssl(host, socket) {

0 commit comments

Comments
 (0)