diff --git a/src/http_connection.cpp b/src/http_connection.cpp index f402973d0..f7ec6cbea 100644 --- a/src/http_connection.cpp +++ b/src/http_connection.cpp @@ -64,7 +64,7 @@ void http_connection::get(std::string const& url, time_duration timeout #ifndef TORRENT_USE_OPENSSL if (ssl) { - callback(asio::error::not_supported); + callback(asio::error::socket_type_not_supported); return; } #endif