Fixed SSL feature compilation.
This commit is contained in:
parent
098f9dbbff
commit
7b22fada51
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ fn ssl_to_io<T>(res: Result<T, SslError>) -> IoResult<T> {
|
||||||
match res {
|
match res {
|
||||||
Ok(x) => Ok(x),
|
Ok(x) => Ok(x),
|
||||||
Err(e) => Err(IoError {
|
Err(e) => Err(IoError {
|
||||||
kind: OtherIoError,
|
kind: IoErrorKind::OtherIoError,
|
||||||
desc: "An SSL error occurred.",
|
desc: "An SSL error occurred.",
|
||||||
detail: Some(format!("{}", e)),
|
detail: Some(format!("{}", e)),
|
||||||
}),
|
}),
|
||||||
|
|
Loading…
Add table
Reference in a new issue