fixed typo when using TORRENT_USE_OPENSSL

This commit is contained in:
Arvid Norberg 2009-06-09 15:43:56 +00:00
parent 92a541035e
commit 8256a5628d
1 changed files with 1 additions and 1 deletions

View File

@ -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
)