more beos fixes
This commit is contained in:
@@ -37,6 +37,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||
#include "setup_transfer.hpp"
|
||||
|
||||
#include <fstream>
|
||||
#include <iostream>
|
||||
#include <boost/optional.hpp>
|
||||
|
||||
using namespace libtorrent;
|
||||
@@ -67,7 +68,8 @@ void http_connect_handler(http_connection& c)
|
||||
++connect_handler_called;
|
||||
TEST_CHECK(c.socket().is_open());
|
||||
error_code ec;
|
||||
std::cerr << "connected to: " << c.socket().remote_endpoint(ec) << std::endl;
|
||||
std::cerr << "connected to: " << print_endpoint(c.socket().remote_endpoint(ec))
|
||||
<< std::endl;
|
||||
TEST_CHECK(c.socket().remote_endpoint(ec).address() == address::from_string("127.0.0.1", ec));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user