fixed previous check-in

This commit is contained in:
Arvid Norberg 2010-03-03 04:23:53 +00:00
parent fb06acc828
commit 82b8756c49
1 changed files with 1 additions and 1 deletions

View File

@ -222,7 +222,7 @@ void http_connection::start(std::string const& hostname, std::string const& port
// in this case, the upper layer is assumed to have taken
// care of the proxying already. Don't instantiate the socket
// with this proxy
if ((ps->type == proxy_settings::http
if (ps && (ps->type == proxy_settings::http
|| ps->type == proxy_settings::http_pw)
&& !ssl)
{