Merge pull request #7 from ekimmo/master

[URGENT] Fix for simpleminer's MinerGate compatibility
This commit is contained in:
amjuarez 2014-04-30 13:52:30 +00:00
commit a57f4fcf98

View file

@ -856,7 +856,7 @@ using namespace std;
http::url_content u_c;
bool res = parse_url(url, u_c);
if(!tr.is_connected())
if(!tr.is_connected() && !u_c.host.empty())
{
CHECK_AND_ASSERT_MES(res, false, "failed to parse url: " << url);