From bb2df00444f2f6848c97bfefe125aaf6aff84928 Mon Sep 17 00:00:00 2001 From: arvidn Date: Mon, 25 Aug 2008 22:26:29 +0000 Subject: [PATCH] fixed http_connection test git-svn-id: http://libtorrent.svn.sourceforge.net/svnroot/libtorrent/trunk@2636 a83610d8-ad2a-0410-a6ab-fc0612d85776 --- 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 17509efa..3fbdf518 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); -- 2.11.4.GIT