web test suite fix

This commit is contained in:
Arvid Norberg 2014-01-22 06:25:28 +00:00
parent ad635c7081
commit 120f09454f
1 changed files with 9 additions and 0 deletions

View File

@ -103,6 +103,15 @@ static void test_transfer(session& ses, boost::intrusive_ptr<torrent_info> torre
ps.type = (proxy_settings::proxy_type)proxy;
ses.set_proxy(ps);
}
else
{
ps.port = 0;
ps.hostname.clear();
ps.username.clear();
ps.password.clear();
ps.type = proxy_settings::none;
ses.set_proxy(ps);
}
add_torrent_params p;
p.flags &= ~add_torrent_params::flag_paused;