From 2b87a58685da4ecf0725a1ce60dc6568d6e0f720 Mon Sep 17 00:00:00 2001 From: orignal Date: Wed, 22 Jan 2014 17:19:54 -0500 Subject: [PATCH] fixed build with boost 1.46 --- NetDb.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NetDb.cpp b/NetDb.cpp index a39d7ee1..17b6f9b8 100644 --- a/NetDb.cpp +++ b/NetDb.cpp @@ -529,7 +529,7 @@ namespace data boost::asio::ip::tcp::iostream site(address, "http"); if (!site) { - site.expires_from_now (boost::posix_time::seconds (10)); // wait for 10 seconds + //site.expires_from_now (boost::posix_time::seconds (10)); // wait for 10 seconds site << "GET " << filename << "HTTP/1.0\nHost: " << address << "\nAccept: */*\nConnection: close\n\n"; // read response std::string version, statusMessage;