forked from premiere/premiere-libtorrent
fixed typo when using TORRENT_USE_OPENSSL
This commit is contained in:
parent
92a541035e
commit
8256a5628d
|
@ -66,7 +66,7 @@ void http_connection::get(std::string const& url, time_duration timeout, int pri
|
|||
int default_port = protocol == "https" ? 443 : 80;
|
||||
|
||||
if (protocol != "http"
|
||||
#ifndef TORRENT_USE_OPENSSL
|
||||
#ifdef TORRENT_USE_OPENSSL
|
||||
&& protocol != "https"
|
||||
#endif
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue