Commit 61671a35 authored by Joris Guisson's avatar Joris Guisson
Browse files

Backport default port fix from trunk

svn path=/branches/stable/extragear-kde4/network/ktorrent/; revision=976422
parent 404dc4ca
......@@ -35,7 +35,7 @@ namespace bt
void HTTPAnnounceJob::start()
{
http->setHost(url.host(),url.protocol() == "https" ? QHttp::ConnectionModeHttps : QHttp::ConnectionModeHttp,url.port());
http->setHost(url.host(),url.protocol() == "https" ? QHttp::ConnectionModeHttps : QHttp::ConnectionModeHttp,url.port(80));
if (!proxy_host.isEmpty() && proxy_port > 0)
http->setProxy(proxy_host,proxy_port);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment