From 66ac9fe7184113067df28bc4d11311602b794188 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Mon, 25 Aug 2008 22:26:29 +0000 Subject: [PATCH] fixed http_connection test --- test/test_http_connection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_http_connection.cpp b/test/test_http_connection.cpp index 17509efa7..3fbdf5189 100644 --- a/test/test_http_connection.cpp +++ b/test/test_http_connection.cpp @@ -150,7 +150,7 @@ void run_suite(std::string const& protocol, proxy_settings const& ps) if ((ps.type == proxy_settings::http || ps.type == proxy_settings::http_pw) && protocol != "https") run_test(protocol + "://non-existent-domain.se/non-existing-file", -1, 502, 1, err(), ps); else - run_test(protocol + "://non-existent-domain.se/non-existing-file", -1, -1, 0, err(libtorrent::asio::error::host_not_found), ps); + run_test(protocol + "://non-existent-domain.se/non-existing-file", -1, -1, 0, err(), ps); if (ps.type != proxy_settings::none) stop_proxy(ps.port);